string to decode
Split a &
delimited string into an array.
Escape chars for &
is \&
String of arguments to split
determines if delimiter should be removed from start of str
if present
If str is empty the empty string array is returned; Otherwise a string array of arguments is returned.
Split a comma-delimited string into an array.
Escape chars for ,
is \,
String of arguments to split
If str is empty the empty string array is returned; Otherwise a string array of arguments is returned.
Split a &-delimited string into an array.
Escape chars for =
is \=
String of arguments to split
If str is empty the empty string array is returned; Otherwise a string array of arguments is returned.
Generated using TypeDoc
Decodes string such as \u2014 to —
Parameters are read from files with a BUILD_INCLDDE comment. Since the content is read from a file any inline javascript escapes are not automatically converted. This method does such conversions. Unescaps any \\ to \ escaped colons.
// BUILD_INCLDDE(./somfile.txt)[text?before=\n&padleft=# \u2014]
This method decodes the unicode, line breaks and other JavaScript encodings. This converts \n into an acutal new line and \u2014 into an em dash.