Text Helpers
Text helpers transform text content from variables or any other strings.
Text
The main text
helper exposes all of the methods available on the String
built-in JavaScript object. You can use it to extract a part of text, replace characters, or split a text into multiple parts.
Here are a few examples of how you can use it.
Convert a string to lowercase
Template
Preview
full name
Convert First Name variable to lowercase
Template
Variables (JSON)
Preview
john briskine
Convert string to uppercase
Template
Preview
BRISKINE
Split email address and get domain
Template
Preview
briskine.com
Replace character in text
Template
Preview
john+briskine.com
Extract a part of text
Template
Preview
skine Dashb
Capitalize
Capitalize the first letter of the string.
Template
Preview
Briskine dashboard
CapitalizeAll
Capitalize the first letter of each word in the string.
Template
Preview
Briskine Dashboard
Domain
Extract and prettify the domain name from an email address. For example, if the recipient is contact@AWESOME-sweet-bakery.com
, this variable will print "Awesome Sweet Bakery".
Template
Preview
Awesome Sweet Bakery