hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

string-has-prefix

Checks if a string starts with a specified prefix.
Parameter
Type
Description
self
string
String to check
prefix
string
Prefix to search for
return
bool
True if string starts with prefix, false otherwise