.startsWith(val)
Description
Startswith returns a boolean of if a string begins with a value
Parameters
Startswith has the parameter for the value to check if the input starts with it
Usage On Strings
num = "hello world"
log num.startsWith("hello")
// true
Last updated
Was this helpful?