FirstCharOf

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

Designates the first char in Target.

Parameters
NameTypeDescription
Target

An expression which evaluates to a string.

Example
variable tVar as String
put "char" into tVar

variable tFirst as String
put the first char of tVar into tFirst -- tFirst contains "c"
Description

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

Note: It is an error if Target is empty.

Tagsstrings