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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I search for " in a string using the InStr function

Status
Not open for further replies.

Johnnie100

Programmer
Dec 8, 2000
31
GB
Hello and help,

I have some records that are separated by a ", when I try and search for this character in ASP it seems to bring back different results than when I use it in VB.

The code I am using to find the location of the quotation mark is:

ll = InStr(sl + 6, MainStr, """")

Can anyone help or suggest a better way of finding this character within the string please.

Thanks
Johnnie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top