Tia,
As Jared suggested use a small c, as in "a"c.
You can also use String.ToCharArray if you want to convert multiple
character string to an array of Chars.
Dim command As String
Dim delims As String = ",./"
Dim args() As String
args = command.Split(delims.ToCharArray())
Would be the same as:
args = command.Split(","c, "."c, "/"c)
However I would use the char literal ("a"c) for single characters, I've used
ToCharArray where I read the delimiters from an "external" source (such as a
parameter to the constructor, or a config file).
Hope this helps
Jay
<tt> wrote in message news:uT**************@TK2MSFTNGP12.phx.gbl...
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.