Sage Alerts calculated column for length of a field

SOLVED

Trying to do a simple calculated column in Sage Alerts and Workflow query that is linked to Sage 100 providex. The calculation is to return the length of a string field.

I've tried LEN and LENGTH eg: LENGTH("AR_Division"."ARDivisionNo") and cannot get it to work.