vb.net - How to get value in the splitted string -


i have example string has been splitted using symbol "\"

 dim string = "123\456\7890\" dim leftstring = a.substring(0, msg.indexof("\"))           textbox1.text = leftstring 

in textbox1 show number of "123" , , how can number of "456" , "7890"?

dim string = "123\456\7890\" dim asplit string() = a.split(new [char]() {"\"c}) dim a1 string = asplit(0).trim '123 dim a2 string = asplit(1).trim '456 dim a3 string = asplit(2).trim '7890 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -