- Help Center
- Operations
MID Operation
How to use the MID operation with Computed Attributes
Definition
The MID operation allows you to extract a given number of characters from the middle of a string.
Example
$LABEL = Pineapple
MID($LABEL,3,4)
Result = neap
Syntax Guide
MID(attribute,start_char,num_chars)
attribute - The text attribute from which to extract characters
start_char - the location of the first character to extract written as a number
num_chars - The number of characters to extract