Page 1 of 1

Trim Function

Posted: Wed May 04, 2005 7:38 am
by ds_is_fun
Trim(DecimalToString(DSLink2.a,"fix_zero,suppress_zero"),"0","L")
How do "0" and "L" play a role here?

Posted: Wed May 04, 2005 7:41 am
by Sainath.Srinivasan
L -> Leading
0 -> Char to trim

In short, it is to make '000012300' as '12300'.

Posted: Wed May 04, 2005 8:34 am
by ds_is_fun
fix_zero,suppress_zero
Should take care of suppressing all leading and trailing zeros. So is that extra care?
Thanks