StringFirst[string]⟹firstCharacter
returns the first character of the input string.
Extract the first character of a string:
Extracts the first characters, even if they are not alphanumeric:
StringFirst is equivalent to using StringTake[str,1]:
Extract the first nucleotide from a DNA sequence:
StringFirst does not work on empty strings:
Extracts the first character of each string in a list of strings: