the last chunk of ( chunkExpression ) the last chunk in (chunkExpression)
Function; identifies the last chunk in a chunk expression.
Chunk expressions refer to any character, word, item, or line in a container of character. Supported containers are field cast members, variables that hold strings, and specified characters, words, items, lines, and ranges within containers.
chunkExpression Required. Specifies the chunk expression that contains the last chunk.
This statement identifies the last word of the string "Adobe, the multimedia company" and displays the result in the Message window:
-- Lingo put the last word of "Adobe, the multimedia company"
The result is the word company.
This statement identifies the last character of the string "Adobe, the multimedia company" and displays the result in the Message window:
put last char("Adobe, the multimedia company")
The result is the letter y.