Read character CHAR AT

Dest = the character at Position.

TagAfter two scans
Heading'S'
Route'NSEW'
RouteStep2

How it's used

Use it to step through text one character at a time.

TagValue
Route'NSEW'
RouteStep2
Heading'S'

Step 2 of NSEW is S.

Operands

OperandData typeRead or write
SourceSTRING or a numberReads
PositionDINT or a numberReads
DestCHARWrites

Common mistakes

  • Using a zero-based indexCharacter positions start at 1 and must be within the current string.