First character FIRST
Dest = the first character of the text.
Text'A-Class'
Dest'A'
| Tag | After two scans |
|---|---|
| Grade | 'A-Class' |
| GradeChr | 'A' |
How it's used
Use FIRST to sort by the first letter of a code.
Text'A-Class'
Dest'A'
| Tag | Value |
|---|---|
| Grade | 'A-Class' |
| GradeChr | 'A' |
GradeChr is A.
Operands
| Operand | Data type | Read or write |
|---|---|---|
| Source | STRING or a number | Reads |
| Dest | CHAR | Writes |
Common mistakes
- Reading an empty stringMake sure the source contains a character before using the result.