endWithIgnoreCase 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.

recommendation-more-help
4f4a00c1-77c9-4eee-84df-bbe6206c3ab9