| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Search and move in string!
Greetings, currently Im learning ASP and atm im trying to do something usefull with the content of a file.
ATM I have a bunch of strings from a CSV that basically look like this: xxxxxxx,"yyy","zzzzzzzzzzzz" where the numbers of x's can vary. What I wanto be able to do it to first off, search for the 1st , that excists in the code, because after that everything is static in the terms of position in the string. So, how do I search my variable for a given character? I know that I can use left to navigate once I have the first position... Please advice! |
|
#2
|
||||
|
||||
|
Hi
Have a look at InStr(...) and then use a combination of Left(...), Mid(...) and Right(...) MK |
|
#3
|
|||
|
|||
|
Thanks, will do!
|
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > Search and move in string! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|