All these functions will manipulate character strings to fit your needs. Functions can use into conditional node and populate variable node and keep the result in a variable.
There are 3 groups of functions :
Usage description : $function(input-1 = "string", input-2 = integer[, optional input-3 = "string"/integer])
* If you want to read and store an entire text file (xml, txt, etc), see "$read" function.
Usages:
$left(input string = “string/%variable%”, number of characters to extract = integer/%i_variable%)
$triml(input string = “string/%variable%”, number of characters to trim = integer/%i_variable%)
Usages:
$right(input string = “string/%variable%”, number of characters to extract = integer/%i_variable%)
$trimr(input string = “string/%variable%”, number of characters to trim = integer/%i_variable%)
Usages:
$middle(input string = “string/%variable%”, start position = integer/%i_variable%, number of characters to extract from start position = integer/%i_variable%)
$between(input string = “string/%variable%”, from string = “string/%variable%”, to string = “string/%variable%”[, instance found= integer/%i_variable%])
Usages:
$upper(input string = “string/%variable%”)
$lower(input string = “string/%variable%”)
$proper(input string = “string/%variable%”)
Usage:
$replace(input string = “string/%variable%”, string to replace = “string/%variable%” [, replace with string = “string/%variable%”, type = 0])
$alrep(input string = “string/%variable%”[, replace with string = “string/%variable%”][, except characters = “string/%variable%”])
Usage:
$regreplace(input string =“string/%variable%”, string to replace =“string/%variable%” [, replace with string =“string/%variable%”)
Usage:
$leads(input string = “string/%variable%”, total number of output characters = integer/%i_variable%[, string to fill = “string/%variable%”])
$trails(input string = “string/%variable%”, total number of output characters = integer/%i_variable% [, string to fill = “string/%variable%”])
Usage:
$stripws(input string = “string/%variable%”)
$stripcrlf(input string = “string/%variable%”)
Usage:
$isdigit(input string = “string/%variable%”)
$isalpha(input string = “string/%variable%”)
Usage:
$length(input string = “string/%variable%”)
$reverse(input string = “string/%variable%”)
All functions can be nested (functions within functions).
Example 1: $replace($left(“my strings”, 6), “my”, “your”) your str
Example 2: $upper($triml($trimr(“function number 131 is useful”, 10), 9)) NUMBER 131