How can you format an actual string in V.NET?
In VB6 I'd do this:
format("010102", "00/00/00"
and get this:
"01/01/02"
In vb.NET this:
format("010102", "00/00/00"
gets this:
"00/00/00"
Now I know that making the first arg a date or numeric variable would work, but I need to format strings sometimes, not always other data types.
So what is the standard method in VB.NET for applying formatting masks to strings?
Thanks!
In VB6 I'd do this:
format("010102", "00/00/00"
and get this:
"01/01/02"
In vb.NET this:
format("010102", "00/00/00"
gets this:
"00/00/00"
Now I know that making the first arg a date or numeric variable would work, but I need to format strings sometimes, not always other data types.
So what is the standard method in VB.NET for applying formatting masks to strings?
Thanks!