Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

extract value from string

Status
Not open for further replies.

rry2k

Programmer
Jun 28, 2001
678
US
I have an asp file that I need to extract all the names of controls/fields on the form. i.e. name="address1" I need the address1 pulled out and put in a text file.

Thanks for the help..Russ
 
Hi,

To get all the item in a FROM you can you a variation of the following

For i = 1 To objRequest.Form.Count
Response.Write objRequest.Form.Key(i)
Response.Write " - "
Response.Write objRequest.Form.Item(i)
Response.Write &quot;<br />&quot;
Next

Then just you the stand FileSystemObject to write to a file
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top