B
Brandon
Greetings,
I have a database with records that contain data like the following:
"vendor" - "phone number" - "city", "state" "problem."
For example:
xyzcompany - 800-123-4567 - new york, ny tp.
The line above is one record, the company names will differ (but are
limited to a dozen), the format of the number will always be with a dash
seperating the area code and number, the city and state will be in
place, and the problem will be a two letter code followed by a period.
I need to be able to parse that record into seperate session variables
such as Session("vendor"), Session("area_code"), Session("number"), and
on with the city, state, and problem.
What is the best method to use in VBScript/ASP to break this record down
into pieces?
I appreciate any help you can give.
Thanks,
Brandon
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
I have a database with records that contain data like the following:
"vendor" - "phone number" - "city", "state" "problem."
For example:
xyzcompany - 800-123-4567 - new york, ny tp.
The line above is one record, the company names will differ (but are
limited to a dozen), the format of the number will always be with a dash
seperating the area code and number, the city and state will be in
place, and the problem will be a two letter code followed by a period.
I need to be able to parse that record into seperate session variables
such as Session("vendor"), Session("area_code"), Session("number"), and
on with the city, state, and problem.
What is the best method to use in VBScript/ASP to break this record down
into pieces?
I appreciate any help you can give.
Thanks,
Brandon
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!