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
Post a Comment