<- CRPL reference <- String Commands

StartsWith

ArgumentsResultNotation
SeachString, TestString True/False s1 s2 – b1

Description

Returns TRUE if s1 starts with s2.

Examples

# This example returns true
"creeper world" "creep" StartsWith

# This example returns false
"creeper world" "x" StartsWith