String Padding Values In Vbscript Follow
Hello I have a simple question.
I have several prompts on my label some of the fields must be padded when printed in a 2D barcode, but when displayed in human readable, the padded zeros must not be there.
I can get the label to where all the inputs are combined into a single 2D code with a long sub-string list.
But what is the code to pad these strings either PadRight with blank spaces for characters or PadLeft with 0's for numeric values so that they will appear only when the 2D is scanned.
I think it's a simple line of code but I'm unfamiliar with VB and the help didn't have anything about padding when I searched.
Michael Toupin (mtoupin
Please sign in to leave a comment.