G
Guest
How do I convert a single character, e.g. "a" into char
for use in the 'split' command?
p.s.
I have option strict on
Tia.
for use in the 'split' command?
p.s.
I have option strict on
Tia.
Jared said:add a 'c' to denote character in your split call after your character to
split on, are you sure it's even needed though?
dim s as string = "oneatwoathreeafour"
dim values() as string = s.split("a"c)
dim morevalues() as string = s.split("a")
Jay B. Harlow said:As Jared suggested use a small c, as in "a"c.