First character FIRST

Dest = the first character of the text.

TagAfter two scans
Grade'A-Class'
GradeChr'A'

How it's used

Use FIRST to sort by the first letter of a code.

TagValue
Grade'A-Class'
GradeChr'A'

GradeChr is A.

Operands

OperandData typeRead or write
SourceSTRING or a numberReads
DestCHARWrites

Common mistakes

  • Reading an empty stringMake sure the source contains a character before using the result.