klyn.String.startsWith
method
public native startsWith(prefix as String) as Boolean
Description

Returns true if this string starts with the provided prefix.

Parameters
ParameterDescription
prefixPrefix to test.
Returns

True when this string starts with prefix.

Example
assert "Hello World".startsWith("Hello")