endWithIgnoreCase

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

Checks if the first argument string ends with a specific string (second argument string), not taking into account the case.

Category

String

Function syntax

endWithIgnoreCase(<parameters>)

Parameters

Parameter Type
string string
suffix string

Signature and returned type

endWithIgnoreCase(<string>,<string>)

Returns a boolean.

Example

endWithIgnoreCase("rowing is great", "AT")

Returns true.

On this page