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