Text Helper
Helper component which contains operations to help you work with text.
Categories: Helpers
Type: textHelper/v1
Actions
Base64 Encode/Decode
Name: base64EncodeDecode
Encode/decode a specified string.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text to be Base64 encode or decode. | true |
| operation | Encode or Decode | STRING OptionsENCODE, DECODE | Select whether to encode or decode the text. | true |
Example JSON Structure
{
"label" : "Base64 Encode/Decode",
"name" : "base64EncodeDecode",
"parameters" : {
"text" : "",
"operation" : ""
},
"type" : "textHelper/v1/base64EncodeDecode"
}Output
Type: STRING
Change Type
Name: changeType
Change the type of the input text to number.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The input text to be changed to a number. | true |
Example JSON Structure
{
"label" : "Change Type",
"name" : "changeType",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/changeType"
}Output
Type: NUMBER
Concatenate
Name: concatenate
Concatenate a list of texts.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| texts | Texts | ARRAY Items[STRING($text)] | A list of texts to concatenate. | true |
| separator | Separator | STRING | The text that separates the texts you want to concatenate. | false |
Example JSON Structure
{
"label" : "Concatenate",
"name" : "concatenate",
"parameters" : {
"texts" : [ "" ],
"separator" : ""
},
"type" : "textHelper/v1/concatenate"
}Output
Type: STRING
Contains
Name: contains
Check if text contains the specified sequence of characters.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | true | |
| expression | Expression | STRING | Text to search for. | true |
Example JSON Structure
{
"label" : "Contains",
"name" : "contains",
"parameters" : {
"text" : "",
"expression" : ""
},
"type" : "textHelper/v1/contains"
}Output
Type: BOOLEAN
Escape Characters
Name: escapeCharacters
Escape characters in a string, specified in the input.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text in which you want to escape characters. | true |
| escapeCharacters | Escape Characters | ARRAY Items[STRING($escapeCharacter)] | Characters you want to escape. | true |
Example JSON Structure
{
"label" : "Escape Characters",
"name" : "escapeCharacters",
"parameters" : {
"text" : "",
"escapeCharacters" : [ "" ]
},
"type" : "textHelper/v1/escapeCharacters"
}Output
Type: STRING
Extract All by Regular Expression
Name: extractAllRegEx
Extract all strings that match a given pattern.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text on which regular expression will be used on. | true |
| regularExpression | Regular Expression | STRING | Regular expression that will be used for extracting strings. | true |
Example JSON Structure
{
"label" : "Extract All by Regular Expression",
"name" : "extractAllRegEx",
"parameters" : {
"text" : "",
"regularExpression" : ""
},
"type" : "textHelper/v1/extractAllRegEx"
}Output
Type: ARRAY
Items Type: STRING
Output Example
[ "" ]Extract Content from HTML
Name: extractContentFromHtml
Extract content from the HTML content.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| content | HTML Content | STRING | The full HTML document or fragment to extract data from. | true |
| querySelector | CSS Selector | STRING | A CSS selector used to locate the element(s) you want to extract (for example: div.article, a[href], #title). | true |
| returnValue | Return Value | STRING OptionsATTRIBUTE, HTML, TEXT | Specifies what content should be extracted from the matched element(s). | true |
| attribute | Attribute | STRING | The name of the HTML attribute to extract from the matched element(s) (for example: href, src, or class). | true |
| returnArray | Return Array | BOOLEAN Optionstrue, false | If selected, then extracted individual items are returned as an array. If you don't set this, all values are returned as a single string. | false |
Example JSON Structure
{
"label" : "Extract Content from HTML",
"name" : "extractContentFromHtml",
"parameters" : {
"content" : "",
"querySelector" : "",
"returnValue" : "",
"attribute" : "",
"returnArray" : false
},
"type" : "textHelper/v1/extractContentFromHtml"
}Output
The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.
Extract Key by Regular Expression
Name: extractKeyRegEx
Extract first string that match a given pattern.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| keyValueObject | Key-Value Object | OBJECT Properties{} | The object on which regular expression will be used on. | true |
| regularExpression | Regular Expression | STRING | Extract key by regex match. | true |
Example JSON Structure
{
"label" : "Extract Key by Regular Expression",
"name" : "extractKeyRegEx",
"parameters" : {
"keyValueObject" : { },
"regularExpression" : ""
},
"type" : "textHelper/v1/extractKeyRegEx"
}Output
Type: ARRAY
Items Type: STRING
Output Example
[ "" ]Extract by Regular Expression
Name: extractRegEx
Extract first string that match a given pattern.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text on which regular expression will be used on. | true |
| regularExpression | Regular Expression | STRING | Regular expression that will be used for extracting strings. | true |
Example JSON Structure
{
"label" : "Extract by Regular Expression",
"name" : "extractRegEx",
"parameters" : {
"text" : "",
"regularExpression" : ""
},
"type" : "textHelper/v1/extractRegEx"
}Output
Type: STRING
Extract URLs
Name: extractUrls
Extract all of the URLs from a given piece of text, returning them as a list.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text from which to extract URLs. | true |
Example JSON Structure
{
"label" : "Extract URLs",
"name" : "extractUrls",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/extractUrls"
}Output
Type: ARRAY
Items Type: STRING
Output Example
[ "" ]Format Currency
Name: formatCurrency
Format currency to the specified denomination.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| currency | Currency | STRING OptionsADP, AED, AFA, AFN, ALL, AMD, ANG, AOA, ARS, ATS, AUD, AWG, AYM, AZM, AZN, BAM, BBD, BDT, BEF, BGL, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYB, BYN, BYR, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CSD, CUC, CUP, CVE, CYP, CZK, DEM, DJF, DKK, DOP, DZD, EEK, EGP, ERN, ESP, ETB, EUR, FIM, FJD, FKP, FRF, GBP, GEL, GHC, GHS, GIP, GMD, GNF, GRD, GTQ, GWP, GYD, HKD, HNL, HRK, HTG, HUF, IDR, IEP, ILS, INR, IQD, IRR, ISK, ITL, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LTL, LUF, LVL, LYD, MAD, MDL, MGA, MGF, MKD, MMK, MNT, MOP, MRO, MRU, MTL, MUR, MVR, MWK, MXN, MXV, MYR, MZM, MZN, NAD, NGN, NIO, NLG, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PTE, PYG, QAR, ROL, RON, RSD, RUB, RUR, RWF, SAR, SBD, SCR, SDD, SDG, SEK, SGD, SHP, SIT, SKK, SLE, SLL, SOS, SRD, SRG, SSP, STD, STN, SVC, SYP, SZL, THB, TJS, TMM, TMT, TND, TOP, TPE, TRL, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, USS, UYI, UYU, UZS, VEB, VED, VEF, VES, VND, VUV, WST, XAD, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XCG, XDR, XFO, XFU, XOF, XPD, XPF, XPT, XSU, XTS, XUA, XXX, YER, YUM, ZAR, ZMK, ZMW, ZWD, ZWG, ZWL, ZWN, ZWR | The type of currency you wish to use. | true |
| amount | Amount | NUMBER | The amount to be formatted. | true |
| decimalDigits | Decimal Digits | INTEGER | Number of digits that will be visible after the decimal seperator. | true |
| decimalSeparator | Decimal Separator | STRING | The character you would like to use as a decimal separator. | true |
| thousandsSeparator | Thousands Separator | STRING | The character you would like to use as a thousands separator. | true |
Example JSON Structure
{
"label" : "Format Currency",
"name" : "formatCurrency",
"parameters" : {
"currency" : "",
"amount" : 0.0,
"decimalDigits" : 1,
"decimalSeparator" : "",
"thousandsSeparator" : ""
},
"type" : "textHelper/v1/formatCurrency"
}Output
Type: STRING
Get Domain From Email Address
Name: getDomainFromEmail
Extracts domain from the given email address.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | STRING | The email you want to extract domain from. | true |
Example JSON Structure
{
"label" : "Get Domain From Email Address",
"name" : "getDomainFromEmail",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/getDomainFromEmail"
}Output
Type: STRING
Get Domain From URL
Name: getDomainFromUrl
Extracts domain from the given URL.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | URL | STRING | The URL you want to extract domain from. | true |
Example JSON Structure
{
"label" : "Get Domain From URL",
"name" : "getDomainFromUrl",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/getDomainFromUrl"
}Output
Type: STRING
Get First Middle and Last Name
Name: getFirstMiddleLastName
From full name extract first, middle and last name.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| fullName | Full Name | STRING | The full name. | true |
| isFirstNameFirst | Is First Name First? | BOOLEAN Optionstrue, false | Is the first name listed first in the full name? | true |
Example JSON Structure
{
"label" : "Get First Middle and Last Name",
"name" : "getFirstMiddleLastName",
"parameters" : {
"fullName" : "",
"isFirstNameFirst" : false
},
"type" : "textHelper/v1/getFirstMiddleLastName"
}Output
Type: OBJECT
Properties
| Name | Type | Description |
|---|---|---|
| firstName | STRING | First name. |
| middleName | STRING | Middle name |
| lastName | STRING | Last name |
Output Example
{
"firstName" : "",
"middleName" : "",
"lastName" : ""
}Get Text After
Name: getTextAfter
Given a string and a pattern, this operation will return the substring between where the pattern was found depending on the match number and ending of the string.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text that will be searched for the pattern. | true |
| pattern | Pattern | STRING | Pattern after which substring will be extracted. | true |
| matchNumber | Match Number | INTEGER | Specifies which match to use for extracting the substring when multiple matches exist. | true |
Example JSON Structure
{
"label" : "Get Text After",
"name" : "getTextAfter",
"parameters" : {
"text" : "",
"pattern" : "",
"matchNumber" : 1
},
"type" : "textHelper/v1/getTextAfter"
}Output
Type: STRING
Get Text Before
Name: getTextBefore
Given a string and a pattern, this operation will return the substring between where the pattern was found depending on the match number and beginning of the string.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text that will be searched for the pattern. | true |
| pattern | Pattern | STRING | Pattern after which substring will be extracted. | true |
| matchNumber | Match Number | INTEGER | Specifies which match to use for extracting the substring when multiple matches exist. | true |
Example JSON Structure
{
"label" : "Get Text Before",
"name" : "getTextBefore",
"parameters" : {
"text" : "",
"pattern" : "",
"matchNumber" : 1
},
"type" : "textHelper/v1/getTextBefore"
}Output
Type: STRING
Get Text Between
Name: getTextBetween
Extract text between two patterns.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text that will be searched for the patterns. | true |
| patternStart | Start Pattern | STRING | Start pattern from where substring will be extracted. | true |
| patternEnd | End Pattern | STRING | End pattern to where substring will be extracted. | true |
Example JSON Structure
{
"label" : "Get Text Between",
"name" : "getTextBetween",
"parameters" : {
"text" : "",
"patternStart" : "",
"patternEnd" : ""
},
"type" : "textHelper/v1/getTextBetween"
}Output
Type: STRING
Get Text Length
Name: getTextLength
Returns length of the given text.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text of which the length will be returned of. | true |
Example JSON Structure
{
"label" : "Get Text Length",
"name" : "getTextLength",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/getTextLength"
}Output
Type: INTEGER
Hex Encode/Decode
Name: hexEncodeDecode
Hex encode/decode a specified string.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text that will be encoded or decoded. | true |
| operation | Encode or Decode | STRING OptionsENCODE, DECODE | Select whether to encode or decode the text. | true |
Example JSON Structure
{
"label" : "Hex Encode/Decode",
"name" : "hexEncodeDecode",
"parameters" : {
"text" : "",
"operation" : ""
},
"type" : "textHelper/v1/hexEncodeDecode"
}Output
Type: STRING
HTML to Markdown
Name: HtmlToMarkdown
Converts HTML to markdown.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| html | HTML Content | STRING | HTML content to be converted to markdown. | true |
Example JSON Structure
{
"label" : "HTML to Markdown",
"name" : "HtmlToMarkdown",
"parameters" : {
"html" : ""
},
"type" : "textHelper/v1/HtmlToMarkdown"
}Output
Type: STRING
Is Domain?
Name: isDomain
Check if a string is a valid domain.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text to be checked as a valid domain name. | true |
Example JSON Structure
{
"label" : "Is Domain?",
"name" : "isDomain",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/isDomain"
}Output
Type: BOOLEAN
Is Email?
Name: isEmail
Check if a string is a valid email address.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text to be checked as a valid email address. | true |
Example JSON Structure
{
"label" : "Is Email?",
"name" : "isEmail",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/isEmail"
}Output
Type: BOOLEAN
Is Numeric?
Name: isNumeric
Check if a text string is a number.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The input text that will be checked. Decimal point is a point '.'. | true |
Example JSON Structure
{
"label" : "Is Numeric?",
"name" : "isNumeric",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/isNumeric"
}Output
Type: BOOLEAN
Is URL?
Name: isUrl
Check if a string is a valid URL.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The input text that will be checked. | true |
| allow2slashes | Allow 2 Slashes | BOOLEAN Optionstrue, false | Allows double '/' characters in the path component. | false |
| noFragment | No Fragment | BOOLEAN Optionstrue, false | Enabling this options disallows any URL fragments. | false |
| allowAllSchemes | Allow All Schemes | BOOLEAN Optionstrue, false | Allows all validly formatted schemes to pass validation instead of supplying a set of valid schemes. | false |
| allowLocalUrls | Allow Local URLs | BOOLEAN Optionstrue, false | Allow local URLs, such as https://localhost/ or https://machine/ . | false |
Example JSON Structure
{
"label" : "Is URL?",
"name" : "isUrl",
"parameters" : {
"text" : "",
"allow2slashes" : false,
"noFragment" : false,
"allowAllSchemes" : false,
"allowLocalUrls" : false
},
"type" : "textHelper/v1/isUrl"
}Output
Type: BOOLEAN
Lower Case
Name: lowerCase
Convert a string to lower case.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | true |
Example JSON Structure
{
"label" : "Lower Case",
"name" : "lowerCase",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/lowerCase"
}Output
Type: STRING
Markdown to HTML
Name: markdownToHtml
Converts markdown to HTML.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| markdown | Markdown content | STRING | Markdown content to convert to HTML. | true |
Example JSON Structure
{
"label" : "Markdown to HTML",
"name" : "markdownToHtml",
"parameters" : {
"markdown" : ""
},
"type" : "textHelper/v1/markdownToHtml"
}Output
Type: STRING
Match
Name: match
Retrieve the result of matching a string against a regular expression.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text that will be matched to the regular expression. | true |
| regularExpression | Regular Expression | STRING | Regular expression that will be used on the text. | true |
Example JSON Structure
{
"label" : "Match",
"name" : "match",
"parameters" : {
"text" : "",
"regularExpression" : ""
},
"type" : "textHelper/v1/match"
}Output
Type: ARRAY
Items Type: STRING
Output Example
[ "" ]Parse Email
Name: parseEmail
Parse email into structured object. For example: "Name <name@domain.com>" into {displayName: 'Name', localPart: 'name', domain: 'domain.com'}.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| STRING | The email that will be turned into structured data. | true |
Example JSON Structure
{
"label" : "Parse Email",
"name" : "parseEmail",
"parameters" : {
"email" : ""
},
"type" : "textHelper/v1/parseEmail"
}Output
Type: OBJECT
Properties
| Name | Type | Description |
|---|---|---|
| localPart | STRING | The local part of the email address. |
| displayName | STRING | The display name of the email address. |
| domain | STRING | The domain part of the email address. |
| STRING | The full email address. |
Output Example
{
"localPart" : "",
"displayName" : "",
"domain" : "",
"email" : ""
}Parse Email List
Name: parseEmailList
Parse emails into structured objects. For example: "Name <name@domain.com>" into {displayName: 'Name', localPart: 'name', domain: 'domain.com'}.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| emails | Emails | ARRAY Items[STRING($email)] | A list of emails that will be turned into structured data. | true |
Example JSON Structure
{
"label" : "Parse Email List",
"name" : "parseEmailList",
"parameters" : {
"emails" : [ "" ]
},
"type" : "textHelper/v1/parseEmailList"
}Output
Type: ARRAY
Items Type: OBJECT
Properties
| Name | Type | Description |
|---|---|---|
| localPart | STRING | The local part of the email address. |
| displayName | STRING | The display name of the email address. |
| domain | STRING | The domain part of the email address. |
| STRING | The full email address. |
Output Example
[ {
"localPart" : "",
"displayName" : "",
"domain" : "",
"email" : ""
} ]Parse URL
Name: parseUrl
Parses URL into structured data.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| url | URL | STRING | The URL that will be turned into structured data. | true |
Example JSON Structure
{
"label" : "Parse URL",
"name" : "parseUrl",
"parameters" : {
"url" : ""
},
"type" : "textHelper/v1/parseUrl"
}Output
Type: OBJECT
Properties
| Name | Type | Description |
|---|---|---|
| protocol | STRING | The protocol of the URL. |
| slashes | STRING | Indicates if the URL has a slash after the protocol. |
| auth | STRING | The authentication information of the URL. |
| host | STRING | The host part of the URL. |
| port | STRING | The port part of the URL. |
| hostname | STRING | The hostname part of the URL. |
| hash | STRING | The hash part of the URL. |
| search | STRING | The search part of the URL. |
| pathname | STRING | The pathname part of the URL. |
| path | STRING | The path part of the URL including the query if present. |
| href | STRING | The full URL as a string. |
| query | OBJECT Properties{STRING(key), STRING(value)} | The query parameters of the URL. |
Output Example
{
"protocol" : "",
"slashes" : "",
"auth" : "",
"host" : "",
"port" : "",
"hostname" : "",
"hash" : "",
"search" : "",
"pathname" : "",
"path" : "",
"href" : "",
"query" : {
"key" : "",
"value" : ""
}
}Proper Case
Name: properCase
Capitalize the first letter of every word.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text that will be turned into proper case. | true |
Example JSON Structure
{
"label" : "Proper Case",
"name" : "properCase",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/properCase"
}Output
Type: STRING
Regular Expression Match Test
Name: regExMatchTest
Test if a string matches a regex.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text that will be matched to the regular expression. | true |
| regularExpression | Regular Expression | STRING | Regular expression that will be used on the text. | true |
| ignoreCase | Ignore Case | BOOLEAN Optionstrue, false | If this value is set to true the regular expression will be case-insensitive. | false |
| multiline | Multiline | BOOLEAN Optionstrue, false | If this value is set to true the regular expression will be applied to multiple lines. | false |
| unicode | Unicode | BOOLEAN Optionstrue, false | If this value is set to true the regular expression will support unicode characters. | false |
Example JSON Structure
{
"label" : "Regular Expression Match Test",
"name" : "regExMatchTest",
"parameters" : {
"text" : "",
"regularExpression" : "",
"ignoreCase" : false,
"multiline" : false,
"unicode" : false
},
"type" : "textHelper/v1/regExMatchTest"
}Output
Type: BOOLEAN
Remove Characters
Name: removeCharacters
Remove specified characters from a string.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text that will be processed to remove specified characters. | true |
| character | Character | STRING | Character that will be removed from the text. | true |
Example JSON Structure
{
"label" : "Remove Characters",
"name" : "removeCharacters",
"parameters" : {
"text" : "",
"character" : ""
},
"type" : "textHelper/v1/removeCharacters"
}Output
Type: STRING
Remove Special Characters
Name: removeSpecialCharacters
Remove special characters from a string.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text that will be processed to remove special characters. | true |
Example JSON Structure
{
"label" : "Remove Special Characters",
"name" : "removeSpecialCharacters",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/removeSpecialCharacters"
}Output
Type: STRING
Replace
Name: replace
Replace all instances of any word, character, or phrase in text with another.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | true | |
| searchValue | Search Value | STRING | Can be plain text or a regex expression. | true |
| replaceValue | Replace Value | STRING | Leave blank to remove the search value. | false |
| replaceOnlyFirst | Replace Only First Match | BOOLEAN Optionstrue, false | true |
Example JSON Structure
{
"label" : "Replace",
"name" : "replace",
"parameters" : {
"text" : "",
"searchValue" : "",
"replaceValue" : "",
"replaceOnlyFirst" : false
},
"type" : "textHelper/v1/replace"
}Output
Type: STRING
Select First N Characters
Name: selectFirstNCharacters
Select the first N characters from a string.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | true | |
| numberOfCharacters | Number of Characters | INTEGER | The number of characters to select. | true |
Example JSON Structure
{
"label" : "Select First N Characters",
"name" : "selectFirstNCharacters",
"parameters" : {
"text" : "",
"numberOfCharacters" : 1
},
"type" : "textHelper/v1/selectFirstNCharacters"
}Output
Type: STRING
Select Last N Characters
Name: selectLastNCharacters
Select the last N characters from a string.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | true | |
| numberOfCharacters | Number of Characters | INTEGER | The number of characters to select. | true |
Example JSON Structure
{
"label" : "Select Last N Characters",
"name" : "selectLastNCharacters",
"parameters" : {
"text" : "",
"numberOfCharacters" : 1
},
"type" : "textHelper/v1/selectLastNCharacters"
}Output
Type: STRING
Sentence Case
Name: sentenceCase
Converts string into sentence case.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The input text that will be converted to sentence case. | true |
Example JSON Structure
{
"label" : "Sentence Case",
"name" : "sentenceCase",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/sentenceCase"
}Output
Type: STRING
Shorten
Name: shorten
Shorten string to a max allowed length.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text that will be shortened. | true |
| length | Length | INTEGER | Maximum allowed length of the string. | true |
Example JSON Structure
{
"label" : "Shorten",
"name" : "shorten",
"parameters" : {
"text" : "",
"length" : 1
},
"type" : "textHelper/v1/shorten"
}Output
Type: STRING
Split
Name: split
Split the text by delimiter.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | true | |
| delimiter | Delimiter | STRING | Delimiter used for splitting the text. | true |
Example JSON Structure
{
"label" : "Split",
"name" : "split",
"parameters" : {
"text" : "",
"delimiter" : ""
},
"type" : "textHelper/v1/split"
}Output
Type: ARRAY
Items Type: STRING
Output Example
[ "" ]Strip HTML Tags
Name: stripHtmlTags
Remove HTML tags from a string leaving only the tag's text content.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The input text that will be stripped from HTML tags. | true |
Example JSON Structure
{
"label" : "Strip HTML Tags",
"name" : "stripHtmlTags",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/stripHtmlTags"
}Output
Type: STRING
Trim Whitespace
Name: trimWhitespace
Trim whitespace from the beginning and end of a string.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | true |
Example JSON Structure
{
"label" : "Trim Whitespace",
"name" : "trimWhitespace",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/trimWhitespace"
}Output
Type: STRING
Underscore
Name: underscore
Convert text to snake case, lowercasing all text, removing special characters, and replacing spaces with underscores.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The input text that will be converted to snake case. | true |
Example JSON Structure
{
"label" : "Underscore",
"name" : "underscore",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/underscore"
}Output
Type: STRING
Upper Case
Name: upperCase
Convert a string to upper case.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | true |
Example JSON Structure
{
"label" : "Upper Case",
"name" : "upperCase",
"parameters" : {
"text" : ""
},
"type" : "textHelper/v1/upperCase"
}Output
Type: STRING
URL Encode/Decode
Name: urlEncodeDecode
URL encode/decode a specified string.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| text | Text | STRING | The text to be URL encode or decode. | true |
| operation | Encode or Decode | STRING OptionsENCODE, DECODE | Select whether to encode or decode the text. | true |
Example JSON Structure
{
"label" : "URL Encode/Decode",
"name" : "urlEncodeDecode",
"parameters" : {
"text" : "",
"operation" : ""
},
"type" : "textHelper/v1/urlEncodeDecode"
}Output
Type: STRING
URL Encode/Decode Key/Value Pair
Name: urlEncodeDecodeKeyValuePair
URL encode/decode a specified set of key/value pairs.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| pairs | Pairs | ARRAY Items[{STRING(key), STRING(value)}] | Key/Value pairs that will be encoded. | true |
| operation | Encode or Decode | STRING OptionsENCODE, DECODE | Select whether to encode or decode the text. | true |
Example JSON Structure
{
"label" : "URL Encode/Decode Key/Value Pair",
"name" : "urlEncodeDecodeKeyValuePair",
"parameters" : {
"pairs" : [ {
"key" : "",
"value" : ""
} ],
"operation" : ""
},
"type" : "textHelper/v1/urlEncodeDecodeKeyValuePair"
}Output
Type: STRING
How is this guide?
Last updated on