Convert a unicode character offset to a javascript string index.
The index in unicode characters
The text in which the offset is calculated
The js-native index
Convert a javascript string index into a unicode character offset
The javascript string index (counting surrogate pairs)
The text in which the offset is calculated
The unicode character offset
Given a string, title case the words in the string.
the same string, but with each word capitalized.
Generated using TypeDoc
The namespace for text-related functions.