>Hi all,
>I'm getting a recordset from a VFP table in an ASP page.
>I need to write a number with the leading zeros.
>I use normally in VFP
PadL( number, 8, "0" ).
>How to get the same result in VBScript ??
>Thanks in advance!
For VBScript version 5 you can also use:
strPadded = String(8 - Len(strNoPad), "0") & strNoPad
Where strNoPad is the string you want to add characters to.