startWithIgnoreCase

Last update: 2023-01-23
  • Created for:
  • Experienced
    Developer

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.

On this page