I am delimiting my data with the “//” as I am passing it up to my webservice. My webservice is splitting the data into an array like so:
myArray = al(i).ToString.Split("//")
Everything works great, however, if I pass in some data like this: 100/100 then that also gets split. Is there a way to make sure that only the “//” gets split?
The VB.Net compiler is converting your string into a
Chararray and calling this overload.Thus, it’s splitting on either
/or/.You need to call the overload that takes a
stringarray, like this: