The Value/String operators let you convert Excel files into JSON, convert a JSON string to a JSON object, and find matching values in a table.
What You'll Learn
In this article, you'll get an overview of the various Data Workflow Value/String operators.
Value/String Operators
Below is a list of the Data Workflow Value/String operators with descriptions of how to use them.
Operator | Description |
---|---|
Converts a value from one data type to another based on the value selected in the Cast To setting. From this drop-down menu, you can select | |
Lets you create a value and pass it into the Data Workflow. This operator can create a number, string, or Boolean value. You can either set the value directly in the Value/Expression field or use | |
Converts the Base64 encoding of an Excel file to JSON. Data in the sheet is converted into a headings array and a JSON array. The headings array contains the file's header fields. The JSON array contains the file contents. We recommend using an Excel file that contains headers. Doing so ensures the JSON array has key/value pairs, where the key corresponds to the header. | |
Performs calculations on your data based on the formula defined in the Formula/Expression field. You can use an alias of | |
Determines if a specified value exists in the input. Then, it outputs a Boolean value. The input should be a value or an array of values. In the Value field, enter a value to determine if it is included in your data set. If your data includes that value, the output is True. If not, the output is False. | |
Parses a string containing properly-formatted JSON and outputs the defined data structure as a JSON object.
| |
Compares text entering the upper input port to a data set in the lower input port. Then, it outputs an array listing any matching keywords and their corresponding Values. For example, you can create a data table with column names Keyword and Mood. Then, connect it to the NLP operator's lower input port. This is your Keyword vs. Mood table. In the Keyword column, create a list of words. In the Mood column, assign emotions (moods) to each word. In the NLP operator's Source Column field, enter | |
Splits a string into an array of values. In the Separator field, enter the separator to split the value on. The separator is not included in the final arrays.
|