Skip to content

Text Helper

Reference


Helper component which contains operations to help you work with text.

Categories: [helpers]

Version: 1


Actions

Base64 Decode

Decodes base64 encoded text into human readable plain text.

Properties

NameTypeControl TypeDescription
Encoding SchemeSTRINGSELECT
Base64 ContentSTRINGTEXT_AREAThe Base64 encoded content that needs to be decoded.

Concatenate

Concatenate two or more texts.

Properties

NameTypeControl TypeDescription
Texts[STRING($text)]ARRAY_BUILDER
SeparatorSTRINGTEXTThe text that separates the texts you want to concatenate.

Output

Type: STRING

Extract Content from HTML

Extract content from the HTML content.

Properties

NameTypeControl TypeDescription
HTML content to extract content from.STRINGTEXT_AREAThe HTML content.
CSS SelectorSTRINGTEXTThe CSS selector to search for.
Return ValueSTRINGSELECTThe data to return.
AttributeSTRINGTEXTThe name of the attribute to return the value of
Return ArrayBOOLEANSELECTIf selected, then extracted individual items are returned as an array. If you don’t set this, all values are returned as a single string.

Find

Find substring

Properties

NameTypeControl TypeDescription
TextSTRINGTEXT_AREA
ExpressionSTRINGTEXTText to search for.

Output

Type: BOOLEAN

Replace

Replace all instances of any word, character, or phrase in text with another.

Properties

NameTypeControl TypeDescription
TextSTRINGTEXT_AREA
Search ValueSTRINGTEXTCan be plain text or a regex expression.
Replace ValueSTRINGTEXTLeave blank to remove the search value.
Replace Only First MatchBOOLEANSELECT

Output

Type: STRING

Split

Split the text by delimiter.

Properties

NameTypeControl TypeDescription
TextSTRINGTEXT_AREA
DelimiterSTRINGTEXTDelimiter used for splitting the text.

Output

Type: ARRAY

Properties

TypeControl Type
STRINGTEXT