Syntax
hasprefix(string, prefix)
Description
The function hasprefix() tests whether a string begins with prefix. The return value will be true or false.
Example
if (hasprefix("Wibble", "Wib")) { println("Starts with Wib") } Starts with Wib
hasprefix(string, prefix)
The function hasprefix() tests whether a string begins with prefix. The return value will be true or false.
if (hasprefix("Wibble", "Wib")) { println("Starts with Wib") } Starts with Wib