The hidden-character length of the string.
The amount of lines in this string.
Like String.match
, retrieves the result of matching a string against a regular expression, but receieves a "backup" Array
to return if there is no match.
A regular expression object. If a non-RegExp object obj is passed, it is implicitly converted to a RegExp
by using new RegExp(obj)
.
A "backup" Array
of String(s)
that will return in the event of no-match.
An Array
whose contents depend on the presence or absence of the global (g
) flag; or the "backup" Array
, if no matches are found.
De-duplicates repeated phrases as specified by the arguments.
A list of phrases to de-duplicate
Colors phreases within the string.
???
???
???
Counts the appearance of a phrase in this string.
The phrase to count.
Determines if the string has a phrase.
The phrase to look for.
Duplicates the string by the specified amount.
The amount of times to duplicate the string.
Indents each line within the string.
The amount of indents.
The indent character.
An optional line number to start from.
Adds padding to the string.
The padding character.
The amount of padding.
The direction of the padding.
If true
; prints out debugging logs.
Converts the string to sentence-case.
Converts the string to title-case.
Formats the string using DCT
options.
Aligns the string by left ("-"
), right ("+"
), or centered (""
).
The delimiter used to separate the values.
The direction to align towards.
Converts the lines of this string to a list of lines.
Formats a delimited string into an aligned table.
CLMS
options.
The real-character length of the string.