COMPTLES

Metadata Instruction : Performs search for multiple words in a string.
Edited By : Sobhit Sharma

Use Cases - When to use this command

Description

COMPTLES is used to search for one or more words in a string. The output of the command is going to be an Array of words which are found in the string. The output is stored in another variable.

Guidelines for Usage:

How to use this command

COMPTLES command is for node level operations. It can be used in any node as an instruction, except for the root node. It should not be used on the Arrows.

Let's take an example: COMPTLES ["fox", "dog"] $src_string $output Here , Let's say $src_string = "The quick brown fox jumps over the lazy ferret" As you can see in the $src_string, only "fox" is present. "$output" variable is going to an Array : ["fox"]

Examples

Simulated Metadata Editor
processing icon
Analytics API Call Body
Analytics API Response Body