endWithIgnoreCase

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