Returns first character.
String? headString(String s) { if (s == '') { return null; } return s.substring(0, 1); }