Functions Documentation |
|
Name |
strFind |
Syntax |
(strFind string string) |
Argument List |
string: The string that to search.
string: The string you want to search for. |
Returns |
number: The index where the second string is found starting at 0, if not found returns Nil. |
Category |
string operator
|
Description |
Finds the second string in the first string and returns where it is in the first string. |
Example |
(strFind "abcdef" "ab")
Returns the number 0.
(strFind "abcdef" "cd")
Returns the number 2.
(strFind "abcdef" "Betel")
Returns Nil. |
Comment |
Interesting string function allowing you to search in strings. We need more string functions.
NOTE: The function is not case sensitive. |