- :logical
prefix?
check if string starts with given prefix
Parameters
prefix? string :string prefix :string :regex
Returns
Examples
copyprefix? "hello" "he" ; => true prefix? "boom" "he" ; => false
prefix? string :string prefix :string :regex
copyprefix? "hello" "he" ; => true prefix? "boom" "he" ; => false