Functions lets you manipulate strings and/or numbers to fit your needs.

Usage description:

$function(input-1 = "string", input-2 = integer[, optional input-3 = "string"/integer])

* ALL string inputs containing alphabetic characters (a-z, A-Z) must be encapsulated with quotes: "my string", "123abc", "%s_variable%", "%i_variable%".

* Functions that accept numbers do not need to be encapsulated with quotes.

* If numeric character(s) (0-9) are used in functions that accept strings then the number will be treated as a string: 123 = "123"

* All functions can be nested (functions within functions):

$replace($left("my strings", 6), "my", "your") = "your str"

Functions

$replace

Replace string in string. If "type" is set to 1 then the string to replace are split into characters. The function will then replace all instance of each character with the "replace with string".

Usage:

$replace(input string = "string/%variable%", string to replace = "string/%variable%" [, replace with string = "string/%variable%", type = 0])

Example:

$replace("D:\Replace spaces in filename", " ", "_") =

D:\Replace_spaces_in_filename

Example:

$replace("D:\Replace spaces in filename", "eip", "_", 1) =

D:\R__lac_ s_ac_s _n f_lename

$left

Get string n-characters from the left side.

Usage:

$left(input string = "string/%variable%", number of characters to extract = integer/%i_variable%)

Example:

$left("D:\Replace spaces in filename", 15) =

D:\Replace spac

$middle

Get string n-characters from n-position.

Usage:

$middle(input string = "string/%variable%", start position = integer/%i_variable%, number of characters to extract from start position = integer/%i_variable%)

Example:

$middle("D:\Replace spaces in filename", 5, 8) =

eplace s

$right

Get string n-characters from the right side.

Usage:

$right(input string = "string/%variable%", number of characters to extract = integer/%i_variable%)

Example: