227
edits
Line 204: | Line 204: | ||
* NUM $max(NUM, NUM) - Both NUMs need to be numerical string. Returns the greater NUM | * NUM $max(NUM, NUM) - Both NUMs need to be numerical string. Returns the greater NUM | ||
* NUM $len(STR) - Returns a numerical string represinting the character count of STR | * NUM $len(STR) - Returns a numerical string represinting the character count of STR | ||
* STR $pad(STR, NUM, CHAR) - STR: String to be padded | * STR $pad(STR, NUM, CHAR) - STR: String to be padded; NUM min string length; CHAR: The character used to pad the string | ||
* STR $repl(SRC, REGEX, REPL) - SRC: Source | * STR $repl(SRC, REGEX, REPL) - SRC: Source; REGEX: Regex used to match; REPL: replaces every match with REPL | ||
* STR $contains(STR, STR) STR1: Source; STR2: Match; Returns "1" if STR1 contains STR2, "" otherwise | |||
More predefined functions will be added on request. | More predefined functions will be added on request. |
edits