getchar
getchar |
Purpose
Get a character in a string or text.
Synopsis
function getchar(txt:text, index:integer):integer
function getchar(str:string, index:integer):integer
Arguments
txt
|
A text object
|
str
|
String
|
index
|
Position of the character
|
Return value
Character code or -1 if the index is not valid.
Related topics
Module