- This wiki is out of date, use the continuation of this wiki instead
Find
From FenixWiki
(Difference between revisions)
| Revision as of 17:31, 31 August 2007 (edit) Sandman (Talk | contribs) m (→Parameters) ← Previous diff |
Current revision (00:56, 26 November 2007) (edit) (undo) Sandman (Talk | contribs) m (→Notes) |
||
| Line 21: | Line 21: | ||
| == Notes == | == Notes == | ||
| A first character of a string is at position 0. | A first character of a string is at position 0. | ||
| + | |||
| + | {{Funcbox | ||
| + | | category = Strings | ||
| + | }} | ||
Current revision
Contents |
[edit] 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.
[edit] Parameters
| STRING str | - The string in which to search. |
| STRING searchstring | - The string to search for. |
| [INT startposition] | - The position at which to start searching. Default is 0. |
[edit] Returns
STRING : The position of the first appearance of searchstring in str
[edit] Notes
A first character of a string is at position 0.
| Strings Functions | |
| • Asc() • Atof() • Atoi() • Chr() • Find() • Ftoa() • Itoa() • Lcase() • Len() • Strrev() • Substr() • Ucase() • | |
