strfind
- Синтаксис
-
native strfind(const string[], const sub[], ignorecase=0, pos=0);
Переменная | Описание |
---|---|
string |
String to search in. |
sub |
Substring to find inside the original string. |
ignorecase |
If true, search is case insensitive. If false (default), search is case sensitive. |
pos |
- Описание
- Tests whether a string is found inside another string.
- Возвращает
- -1 on failure (no match found). Any other value indicates a position in the string where the match starts.