The string to highlight.
Optional phrase: string | RegExpThe word or words to highlight.
Optional length: numberThe number of characters to truncate the string to. The string will be truncated surrounding the first match.
Generated using TypeDoc v0.23.24
The
highlighthelper searches for a word phrase in a string, and wraps matches with the tag.