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
4f4a00c1-77c9-4eee-84df-bbe6206c3ab9