hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

string-remove-suffix

Removes the last N characters from a string.
Parameter
Type
Description
self
string
String to remove characters from
length
number
Number of characters to remove from the end
return
string
String with last N characters removed