VFP9
? LTRIM( "0000000365", "0")
>I have a character field that contains a number.
>
>E.g.
>
>0000012345
>0012344569
>0000000365
>0000250546
>
>How do I extract the leading zeros from this field to leave me with just the following:
>
>12345
>12344569
>365
>250546
>
--sb--