StartsWithI

True if a string begins with the given prefix, ignoring case. For the case-sensitive variant see StartsWith.

Category: String Returns: bool

Signature

StartsWithI(value, prefix)

Examples

StartsWithI(var_player_title, 'sir')       // true regardless of capitalization
StartsWithI(var_location_name, 'the')      // matches 'The', 'THE', 'the', etc.
StartsWithI(var_greeting, 'HELLO')         // true for 'hello', 'Hello', etc.
Docs last synced: 2026-07-18
Screenshot viewer