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
8fe209f2-717b-4d36-904c-71a9532007af