Handlebars String Functions

Use the Handlebars string functions to show and manipulate strings.

This section contains information about these Handlebars functions.

Function NameDescription
charReturns a character when passed an ASCII character code.
concatConcatenates strings of text.
indexOfReturns the position at which a substring occurs within a string.
lowercaseReturns the provided string using only lowercase letters.
properCaseReturns specified string with the first letter of each word capitalized.
regExMatchSearches a string for a pattern by using a regular expression.
replaceReplaces every occurrence of one substring with a different substring.
stringToHexConverts each character in a string to its hexadecimal equivalent.
substringReturns a portion of a string, beginning at a specified character position.
trimRemoves white space from the beginning and end of a string.
uppercaseReturns the provided string using only uppercase letters.