containi

Signature
native containi(const source[], const string[]);
Description

Tests whether a string is found inside another string with case ignoring.

Notes
  • This supports multi-byte characters (UTF-8) on comparison.
Parameters
  • source — String to search in.
  • string — Substring to find inside the original string.
Returns

-1 on failure (no match found). Any other value

indicates a position in the string where the match starts.

Назад
Верх