Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Padding a number
Message
From
13/10/2003 14:59:45
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00838243
Message ID:
00838260
Views:
20
>Dim foo As String = ""
>foo = tnNumero.ToString().PadLeft(6, "0")

Thanks, this worked great.

I remember in VB there wasn't. So, I wasn't sure if one was in .NET.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform