hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

string-get-prefix

Gets the first N characters of a string.
Parameter
Type
Description
self
string
String to get prefix from
length
number
Number of characters to extract
return
string
String containing the first N characters