String Operations

String Operations

The String Operations node is a versatile node used to perform various text transformations on a string. It encompasses several operations such as converting a string to lowercase, uppercase, or title case.

Properties Panel

General

Field

Description

Required

Node name

true

Variable Name

Name of the new variable in which the string after being operated would be stored

true

Operation on

Values or Variables containing values needs to be performed operation on

true

Operation

Select the operation from the drop down list

true

Example

Let's say you want to convert string in coSMoCLOuD stored in $.variables.company to title case.

  1. Set Variable Name to companyTitle.

  2. Set Operation on to $.variables.company.

  3. Set Operation to To_Title.

It will convert the string stored in $.variables.company to title case and store the converted string in the variable $.variables.companyTitle. If variable $.variables.company doesn't exist, it'll raise an error.

Returns

This node does not return any value, but stores the modified string in the variable provided in <Variable Name> in the flow context.

Last updated