Page 1 of 1

Elimnating Zero's

Posted: Mon Nov 24, 2008 3:21 am
by pradeep_nov18
Hi Experts,

How to eliminate leading zero's for the integer:

Input Output
0000101-----101
0010023-----10023
0000045-----45


Can anyone help me on this?thanks in advance for your reply!

Posted: Mon Nov 24, 2008 3:28 am
by nani0907
use Trim function
Trim(cloumnname,'0','L')

It will trim leading zeros

Posted: Mon Nov 24, 2008 3:44 am
by pradeep_nov18
Thanks nani it's working