This coerces the value of a string by casting it to the most plausible datatype, guessed by the value itself.
The input string to coerce.
The coerced value.
Removes duplicated forward slashes as well as trailing slash and returns normalized URL string.
Original URL string.
Sanitized URL string.
Returns a string that is wrapped: every ~`widthchars a space is replaced with the passed
spaceReplacer`.
See https://stackoverflow.com/questions/14484787/wrap-text-in-javascript
The string to wrap.
The width of a line (number of characters).
The string to replace spaces with.
The 'wrapped' string.
Returns the displayed text of an string with html text.
A string containing html.
The stripped Text.
Replaces any occurrence of a link-like text with an <a>
-tag.
The string context to replace.
The urlified string.
Generated using TypeDoc
Helper Class for Strings