startWithIgnoreCase startWithIgnoreCase

Returns true if the second parameter is a prefix of the first one without considering case.

Category

String

Function syntax

startWithIgnoreCase(<parameters>)

Parameters

Parameter
Type
string
string
prefix
string

Signature and returned type

startWithIgnoreCase(<string>,<string>)

Return a boolean.

Example

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

Returns true.

recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76