Trim `n` characters from the end of a string.
Trim newlines from the start and/or end of a string
Similar to String#trim() but removes only newlines
Trim whitespace characters from the beginning and end of a string.
Trim whitespace characters from the beginning and end of a string.
ES5 spec-compliant shim for String.prototype.trim
Trim `n` characters from the end of a string.
Remove spaces and tabs around line-breaks
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
This method removes whitespace from the end of a string.
Remove final line feeds from a string
Spacetrim is trimming string from all 4 sides.
Tokenize a string into an array of string parts and format identifier objects.
Generate string from a token array by interpolating values.
Replace search occurrences with a replacement string.
Like String.trim() but you can choose granularly what to trim
Return a regular expression to match a newline character sequence.
Insert supplied variable values into a format string.
Test if a value is a string.
Allocate a buffer containing a provided string.
Escape a regular expression string or pattern.
Test if a value is a regular expression string.
Convert a string to lowercase.
Right pad a string with zeros or a specified string. Fastest implementation.