string.find
|
MY-BASIC |
string.find(<str::string>,<str::substring>) |
Find the first match of a substring in a string - the search is case-sensitive.
Return value: integer
zero-based index of the first character of the substring in the string.
-1 if the substring is not found
Arguments
|
string |
str: String in which the substring is looked for |
|
substring |
str: Substring to find in string. |
Examples
See string.format