View previous topic :: View next topic
|
Author |
Message |
rohit_raajin
New User
Joined: 10 May 2005 Posts: 10 Location: india
|
|
|
|
I have a requirement where i have a variabe PIC 9(8).
For example the variable = 00123456
output should be = 123456 |
|
Back to top |
|
|
yogeshwar_ade
Active User
Joined: 31 Aug 2006 Posts: 103 Location: INDIA
|
|
|
|
You can take use of "INSPECT" for "LEADING ZEROS".
Look at Manuals for INSPECT syntax or search in this Forum.
Correct me If I am wrong.
Yogeshwar |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
this may sound too simple so I maybe missing something, move the variable to a ZZZZZZZ9 variable.
Gerry |
|
Back to top |
|
|
the_gautam
Active User
Joined: 05 Jun 2005 Posts: 165 Location: Bangalore
|
|
|
|
according to the requirement mentioned, you have posted the best solution. |
|
Back to top |
|
|
yogeshwar_ade
Active User
Joined: 31 Aug 2006 Posts: 103 Location: INDIA
|
|
|
|
gcicchet wrote: |
Hi,
this may sound too simple so I maybe missing something, move the variable to a ZZZZZZZ9 variable.
Gerry |
Yeah, this is the best solution for this query. |
|
Back to top |
|
|
|