contain
- Синтаксис
-
native contain(const source[], const string[]);
Переменная | Описание |
---|---|
source |
String to search in. |
string |
Substring to find inside the original string. |
- Описание
- 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.