Note: Added in G-Cows version 1.2
The find function searches string for a specified substring
(possibly a single character) and returns its starting position. You can supply the third
parameter from to specify the character where search must
begin.
If substring is not found find returns -1.
Note: Added in G-Cows version 1.2
The rfind function searches from end to beginning string for
a specified substring (possibly a single character) and
returns its starting position. You can supply the third parameter from to specify the character where search must begin.
If substring is not found rfind returns -1.
Note: Added in G-Cows version 1.2
findfirstof searches string
for the first match of any
character stored in chars and returns its position.
If no match is found returns -1.
Note: Added in G-Cows version 1.2
findlastof searches string
for the last match of any character
stored in chars and returns its position.
If no match is found returns -1.
Note: Added in G-Cows version 1.2
findfirstnotof searches the first element of string that
doesn't match any character stored
in chars and returns its position.
If no match is found returns -1.
Note: Added in G-Cows version 1.2
findlastnotof searches the last element of string that
doesn't match any character stored
in chars and returns its position.
If no match is found returns -1.
Note: Added in G-Cows version 1.2
The char function extracts from string the character located at position index.
Note: Added in G-Cows version 1.2
Returns true if string starts with prefix. Otherwise returns false.
Note: Added in G-Cows version 1.2
Returns true if string ends with suffix. Otherwise returns false.
This manual can be downloaded from http://www.g-cows.org/.