Discuss this page on this pages TalkPage
Syntax | (strFind string string) |
---|---|
Arguments | 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. |
(strFind "abcdef" "ab")
Returns the number 0.
(strFind "abcdef" "cd")
Returns the number 2.
(strFind "abcdef" "Betel")
Returns Nil. Return to Functions list