LastCharOf

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the last char of <Target>
Associationscom.livecode.char
Summary

Designates the last char in Target.

Parameters
NameTypeDescription
Target

An expression which evaluates to a string.

Example
variable tVar as String
put "char" into tVar

variable tLast as String
put the last char of tVar into tLast -- tLast contains "r"
Description

Either locates the last char for use as the target container of another operation, or evaluates the last char as the source of another operation.

Note: It is an error if Target is empty.

Tagsstrings