LEFT Operation

How to use the LEFT operation with Computed Attributes

Definition


The LEFT operation allows you to extract a substring from a string, starting from the left most character.

Example

$LABEL = Pineapple

LEFT($LABEL,4)

Result:
Pine

Syntax Guide


LEFT(text_attribute,num_chars)

text_attribute - The text attribute from which to extract characters

num_chars [optional] - The number of characters to extract starting from the LEFT side of the text. Default = 1 if left blank.