L
L. Scott M.
Have a quick simple question:
dim x as string
x = "1234567890"
-------------------------------------------------------
VB 6
dim y as string
y = format(x,"(@@@) @@@ @@@@")
y is now ---------------------> (123) 456 7890
(think that is the correct VB 6 syntax)
-------------------------------------------------------
VB NET
How can I do this using formatting in VB.NET since the "@" and other
characters are no longer used. I would prefer to avoid verbose methods
- using LEFT, MID, RIGHT....
dim x as string
x = "1234567890"
-------------------------------------------------------
VB 6
dim y as string
y = format(x,"(@@@) @@@ @@@@")
y is now ---------------------> (123) 456 7890
(think that is the correct VB 6 syntax)
-------------------------------------------------------
VB NET
How can I do this using formatting in VB.NET since the "@" and other
characters are no longer used. I would prefer to avoid verbose methods
- using LEFT, MID, RIGHT....