Tests if one string is a substring of another. By default, this performs
a case-insensitive comparison. A case-sensitive comparison can be performed
by passing caseSensitive: true in the "options" argument. If simplified: true
is provided in the "options" argument, then the strings will first be slugified
(removing special characters, diacritics, etc.) and then compared.
Tests if one string is a substring of another. By default, this performs a case-insensitive comparison. A case-sensitive comparison can be performed by passing
caseSensitive: true
in the "options" argument. Ifsimplified: true
is provided in the "options" argument, then the strings will first be slugified (removing special characters, diacritics, etc.) and then compared.