Text.last
last
Group: Selections
Documentation
Returns the last character from the text.
Examples
Get the last character in the text "건반(Korean)".
"건반(Korean)".last == ")"
Remarks
What is a Character?
A character is defined as an Extended Grapheme Cluster, see Unicode Standard Annex 29. This is the smallest unit that still has semantic meaning in most text-processing applications.