|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (6 bit)
Join Date: May 1999
Location: Wales
Posts: 40
|
Visual basic help
Hi im using visual basic 6 and need to know how to do the following:
I need to extract figures from a list that is copied from a web page and pasted into a multiline textbox, the format of the copied text is: name1 score1 name2 score2 name3 score3 name4 score4 name5 score5 name6 score6 name7 score7 name8 score8 etc when a button is clicked it needs to seperate all of the names and scores into variables, the names and scores are variable in length, i think the only way i might be able to do it is to convert it to an array and store the letters/numbers one at a time until a space is found, but i cant convert it to a array, so if anyone has any suggestions or a bit of code to help it would be much appreciated ! |
|
|
|
|
|
#2 |
|
Member (10 bit)
|
Have you tried RegExp?
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|