Standard Library

Create Library

String

Object members

br2nl
Convert <br> to newline.

levenshtein
Calculate the Levensthein distance (LD) of two strings

nbsp2s
Convert &nbsp to space.

substrCount
Count the number of times a substring is in a string.

trim
Removes any whitespace character from before and after the string

trimAll
Removes redundant whitespace in the string.

trimLeft
Remove leading whitespace from the string.

trimRight
Remove trailing whitespace from a string.