startWithIgnoreCase startWithIgnoreCase

Devuelve true si el segundo parámetro es un prefijo del primero sin tener en cuenta las mayúsculas y minúsculas.

Categoría

Cadena

Sintaxis de función

startWithIgnoreCase(<parameters>)

Parámetros

Parámetro
Tipo
string
string
prefijo
string

Firma y tipo devuelto

startWithIgnoreCase(<string>,<string>)

Devuelve un valor booleano.

Ejemplo

startWithIgnoreCase("rowing is great", "RO")

Devuelve verdadero.

recommendation-more-help
4f4a00c1-77c9-4eee-84df-bbe6206c3ab9