Description: Extract the last symbol of a word. May be not meaningful for other sets
which are not words. The name lastS (as abbreviation of "lastSymbol")
is a compromise between usually used names for corresponding functions in
computer programs (as last() or lastChar()), the terminology used for
words in set.mm ("symbol" instead of "character") and brevity ("lastS" is
shorter than "lastChar" and "lastSymbol"). Labels of theorems about last
symbols of a word will contain the abbreviation "lsw" (Last Symbol of a
Word). (Contributed by Alexander van der Vekens, 18-Mar-2018)