User Tools

Site Tools


prpl:startswith

<- PRPL reference <- Strings

StartsWith

ArgumentsResultNotation
string string bool [string string- bool]

Description

Takes two strings from the stack and returns whether the first string starts with the second (case sensitive)

Examples

if (StartsWith("Hello there" "Hello")) 
    Trace("I opened with hello") 
endif 
prpl/startswith.txt · Last modified: 2016/12/02 18:33 by 127.0.0.1