- This wiki is out of date, use the continuation of this wiki instead
Find
From FenixWiki
Contents |
Definition
INT find ( <STRING str> , <STRING searchstring> , [<INT startposition>] )
Returns the position of the first appearance of a string in another string. Optionally at a certain starting position.
Parameters
STRING str | - The string in which to search. |
STRING searchstring | - The string to search for. |
[STRING startposition] | - The position at which to start searching. Default is 0. |
Returns
STRING : The position of the first appearance of searchstring in str
Notes
A first character of a string is at position 0.