J
jason
Hello.
Given string "yyy/zzz/lll.bbb \ggg\rrr\zzz"
Id like to split (in vb) by characters: /.\ and space
yeilding:
yyy
zzz
lll
bbb
ggg
rrr
zzz
flirting with the following code that's not working:
<vbcode>
dim tosplit as string
tosplit = available.selecteditem.text
dim threethings() as string
threethings=tosplit.split("[\.]")
p1=threethings(0)
p2=threethings(2)
response.write(p1+" "+p2)
</vbcode>
Requires Regex? Got sample code?
Many thanks in advance for any info or help with this!
Given string "yyy/zzz/lll.bbb \ggg\rrr\zzz"
Id like to split (in vb) by characters: /.\ and space
yeilding:
yyy
zzz
lll
bbb
ggg
rrr
zzz
flirting with the following code that's not working:
<vbcode>
dim tosplit as string
tosplit = available.selecteditem.text
dim threethings() as string
threethings=tosplit.split("[\.]")
p1=threethings(0)
p2=threethings(2)
response.write(p1+" "+p2)
</vbcode>
Requires Regex? Got sample code?
Many thanks in advance for any info or help with this!