The presumption here is that you are dealing with a SAS CHARACTER variable - one that has zero character(s) as part of the string? If so, look at using the combination of an INPUT function invocation (to convert the number char-string to a SAS NUMERIC variable, and then using the PUT function in an assignment statement to convert back to character -- add the -l operand as part of the PUT function's second argument to left-justify, if desired.
Scott Barry
SBBWorks, Inc.
Recommended Google advanced search argument for this topic/post:
convert number character remove leading zeros site:sas.com