EndsWithI

True if a string ends with the given suffix, ignoring case. The case-sensitive variant is EndsWith.

Category: String Returns: bool

Signature

EndsWithI(value, suffix)

Examples

EndsWithI(var_player_title, "THE WISE")   // true regardless of the title's casing
EndsWithI(var_item_name, "sword")         // matches "Sword", "SWORD", "sword", etc.
EndsWithI(var_farewell, "GOODBYE")        // true for "Goodbye" as well as "goodbye"
Docs last synced: 2026-07-08
Screenshot viewer