VB .Net String Tokenizer
Author
Discussion

TheExcession

Original Poster:

11,669 posts

277 months

Friday 29th October 2004
quotequote all
Is there one - I can't find it?

I need to chop up a string delimited by spaces and create a ListViewItem from it - each String Token going into a column on the ListView

God I hate VB.....

thanks
Ex

Plotloss

67,280 posts

297 months

Friday 29th October 2004
quotequote all
Can you not just use substr?

pdV6

16,442 posts

288 months

Friday 29th October 2004
quotequote all
Does Split() not work, or has that been dropped from .Net?

iaint

10,040 posts

265 months

Friday 29th October 2004
quotequote all
pdV6 said:
Does Split() not work, or has that been dropped from .Net?


Split's there and should work fine. You should be able to create a nice ArrayList from the resultant array and then iterate to populate the LivtView...

Iain

TheExcession

Original Poster:

11,669 posts

277 months

Friday 29th October 2004
quotequote all
iaint said:

pdV6 said:
Does Split() not work, or has that been dropped from .Net?



Split's there and should work fine. You should be able to create a nice ArrayList from the resultant array and then iterate to populate the LivtView...

Iain


Brilliant - I'll look into that -

It's taking me bloody ages to learn this .NET Framework API.

many thanks
Ex