Table of Contents

Functions

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 :

  1. Character string functions

Character string 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.

$left vs $triml

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%)


$right vs $trimr

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%)


$middle vs $between

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%])


$upper vs $lower and $proper

Usages:
$upper(input string = “string/%variable%”)
$lower(input string = “string/%variable%”)
$proper(input string = “string/%variable%”)


$replace and $alrep

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%”])


$regreplace

Usage:
$regreplace(input string =“string/%variable%”, string to replace =“string/%variable%” [, replace with string =“string/%variable%”)


$leads vs $trails

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%”])


$stripws and $stripcrlf

Usage:
$stripws(input string = “string/%variable%”)
$stripcrlf(input string = “string/%variable%”)


$isdigit and $isalpha

Usage:
$isdigit(input string = “string/%variable%”)
$isalpha(input string = “string/%variable%”)


$length and $reverse

Usage:
$length(input string = “string/%variable%”)
$reverse(input string = “string/%variable%”)

length-reverse.jpg


Nested Functions

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


                                                                                                          Back to top