.net - how to get the total number parts in string split -
assume in text box user input string this:
part1,part2,part3,part4.........partn how total number of parts of string
i tried using
dim part() string = textbox1.text.split(",") but not know how total number of parts
var count = textbox1.text.split(",").count(); or
var count = textbox1.text.split(",").length;
Comments
Post a Comment