Text Operations

This action lets you perform text operations on the specified input. To do this, add this action to the canvas and configure it as given below: 

Select Operation (Mandatory): Select the operation you wish to perform on the specified input. Available options are explained below:

1. Split: This operation lets you split the input text with the separator specified by the user. 

   Field data

   Input (Mandatory): Enter the input text on which you wish to perform the split operation. For example, 'John,Sansa,Arya'

   Separator (Mandatory): Enter the separator you wish to use for split operation. For example, ','.

   Separator is Regex (Mandatory): Specify if the separator is a regular expression. Available options are 'True' and 'False'. By default, the value for this field is set to 'False'. 

   Separator Regex Modifier (Optional): Select the regex modifier for the specified separator from the drop down list. The value for this field is considered only if the 'Separator is Regex' field is set to 'True'. Available separators are '


2. Trim: This operation lets you remove leading and trailing whitespaces from the input text. 

   Field data

   Input (Mandatory): Enter the input text that you wish to trim.


3. Match: This operation lets you match the specified text or regex with the specified input text. 

   Field data

   Input (Mandatory): Enter the input text on which you wish to perform the match operation.

   Match Regex (Mandatory): Enter the regex pattern that you wish to match against the specified input text. 

   Regex Modifier (Optional): Select the regex modifier for the specified regex pattern.  


4. Replace: This operation lets you replace a pattern (sequence of words) with the specified word. 

   Field data

   Input (Mandatory): Enter the input text on which you wish to perform the replace operation. 

   Pattern (Mandatory): Enter the pattern (sequence of words) you wish to replace. You can enter this pattern as plain text or in the form of regex. 

   Pattern is Regex (Mandatory): Specify if the pattern is a regular expression. 

   Replace With (Optional): Enter the value with which you wish to replace the specified pattern. Keep this field empty in case you wish to delete the specified pattern instead of replacing it with other words. 

   Pattern Regex Modifier (Optional): Specify the regex modifier for the specified regex pattern. The value for this field will be considered only if 'Pattern is Regex' field is set to 'True'. 


5. Capitalize: This operation capitalizes the first letter of the specified input text. 

   Field data

   Input (Mandatory): Enter the input text of which first letter you wish to capitalize.  


6. Lowercase: This operation coverts the specified input text to lowercase. 

   Field data

   Input (Mandatory): Enter the input text you wish to convert to lowercase. For example, If your input text is 'My Name Is JOHN' , you will get 'my name is john' as the output of LowerCase operation.


7. UpperCase: This operation coverts the specified input text to uppercase. 

   Field data

   Input (Mandatory): Enter the input text you wish to convert to uppercase. For example, If your input text is 'My Name Is JOHN' , you will get 'MY NAME IS JOHN' as the output of UpperCase operation.


8. Convert to Base64: This operation encodes the specified input text in Base64 format. 

    Field data

    Input (Mandatory): Enter the input text you wish to encode in Base64 format. 


9. Escape HTML Entities: This operation converts the characters &, <, >, ", and ' to their corresponding HTML entities.

   Field data

   Input (Mandatory): Enter the input text of which characters you wish to convert to their corresponding HTML entities.  


10. Unescape HTML Entities: This operation converts the HTML entities to their corresponding characters.

   Field data

   Input (Mandatory): Enter the input text of which HTML entities you wish to convert to their corresponding characters.   

Once you have selected the operation you wish to perform on the specified input, click on 'Done' and 'Run' the workflow.

Output:
  • output-arrow string-operation-128 Text Operations
    • left-triangle value any