Mid() is a built-in function that may appear within any expression. As shown below, it may therefore only appear in green fields (green denotes an expression).
Usage: | Mid(string, starting position, character count) |
Syntax: | Mid(expression, expression, expression) |
Function names are not case sensitive.
All string, starting position, and character count may be expressed as expressions embedded within the function arguments.
Example: | ![]() |
day | init | Mid( timestamp, 3, 2) | initialize day variable with current day of month |
Example: | ![]() |
subnet | = | Mid( IP, 4, 3) | assign middle 3 characters of IP to variable subnet |