CHAR - extract ASCII character from string.
Alternate Entry Name: .CHAR
Usage:
B:
ch = char( string, pos );
/* C users just use subscripting */
Where:
- string
- is a pointer to the beginning of the ASCII string.
- pos
- is a number indicating the position of the desired
character in the string. The character which begins the
string is in position zero, the next character is in
position one, and so on.
- ch
- is the character found in the specified position.
Description:
CHAR is used to extract a nine-bit ASCII character from a
string. It returns the character found in the specified position.
Notes:
Since C programs can subscript directly, CHAR does not support
C style string pointers.
See Also:
expl b lib charb
expl b string
Copyright © 1996, Thinkage Ltd.