Sharing the other functions as well. While they are not directly related to that discussion they can be used for future reference
TRIM
Trims whitespace around the given value
Syntax:
Replaces patterns matched by a regex with a replacement string
##TRIM(<token or value>)##
Example:
##TRIM(" Hello World ")##
returns "Hello World"
=============================
REPLACE
Replaces all occurrences of a given string within the given token/value
Syntax:
##REPLACE(<token or value>,<search token or value>, <replacement token or value>)##
Example :
##REPLACE("Hello My World","My","Your")##
returns "Hello Your World"
=============================
LEFT
Returns the first 'n' characters of the given token/value
Syntax:
##LEFT(<token or value>,n)##
Example :
##LEFT("Hello My World",7)##
returns "Hello M"
=============================
RIGHT
Returns the last 'n' characters of the given token/value
Syntax:
##RIGHT(<token or value>,n)##
Example :
##RIGHT("Hello My World",5)##
returns "World"
=============================
SUM
Returns sum of all arguments - can pass arbitrary number of arguments
If any argument is not a number, will log an error
Syntax:
##SUM(<token or value>,<token or value>,<token or value> ...)##
Example :
##SUM({{lead.Lead Score}},5,10)##
returns 25, assuming Lead Score was 10