|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Hello,
Via ASP, I import a long string containing records out of a database. The string look like: value1,value2,value3*value1,value2,value3*value1,v alue2,value3* etc... All these values need to be stored in an array; so all values 1 in colom1, values 2 in colom2 and values 3 in colom3 value1 value2 value3 value1 value2 value3 value1 value2 value3 etc... I need to split based on ",'", but after every "*" it has to jump to the next record. Or a double split, first based on "*" and then based on ",". Can anybody help me!!! |
|
#2
|
|||
|
|||
|
txt = "value1,value2,value3*value1,value2,value3*value1,v alue2,value3"
SplittedOnStar = Split(txt, "*") For i = 0 To UBound(SplittedOnStar) - 1 NextSplit = Split(SplittedOnstar(i), ",") Next i |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Split URL string into array |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|