Returns 1 if the string defined by @needle is a case-insensitive prefix for the string defined by @haystack; otherwise returns 0.
Example:
if( %stringIsPrefixI( @input, "High" ) ) { talk @n You have chosen high! } else if( %stringIsPrefixI( @input, "Low" ) ) { talk @n You have chosen low! } else { talk @n You are an idiot! } endif |