Does anyone know if there is a "len" function in LPL? I need the ability to say
if (addr2's length = 1)
return "UNIT " + Addr2
else
return addr2
So, if someone entered just "1" in the address 2 line, it would return "UNIT 1" instead of 1 but if they anything else, that's more than just one character, it would return what they entered.
Thanks in advance.