General information
Category:
Coding, syntax & commands
Title:
Remove preceeding zeros
Hi,
I have a character string as below:
SE7130000000001201212345
I then do the following
? SUBSTR("SE7130000000001201212345",6,19)
which gives me
0000000001201212345
How can I remove the preceeding zeros with out deleting the zeros after the first number? Bear in mind the first number is not always in the same position.
What I want is:
1201212345
Thanks,
Ger
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only