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

instr(str, "%>") not works 1

Status
Not open for further replies.

greathope123

Programmer
Nov 1, 2011
84
0
0
GB
Hello

In ASP code, I tried to find the position of "%>" in a string str:
instr(str, "%>")
but got error.
I know a "%>" is in the string and the string is from a text file.

Do you know what is the problem?
 
error" isn't enough information. Posting better info reults in better answers.

%> is the ASP code terminator. I'm guessing that is where your code is stopping.

You might try:
instr(mystring, CHR(37))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top