jeudi 5 novembre 2015

How do I correctly escape the double quotation mark when using string.split

Vote count: 0

Dim mystring as string = " myintref="567" Mynewref="345" "

I would like to split mystring at each single quotation mark so that I end up with;

myintref= 567

Mynewref= 345

Neither

Dim splitstring as string() = mystring.Split(""")

or

 Dim splitstring as string() = mystring.Split(New Char {"""c})

appear to work. Any suggestions? (vs2015, vb.net v14)

asked 2 mins ago

This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at http://ift.tt/jcXqJW.



How do I correctly escape the double quotation mark when using string.split

Aucun commentaire:

Enregistrer un commentaire