![]() |
Subscript out of range
Hi,
I have a database with a memofield from which I get the entire string after searching the whole text using a keyword (single or complex), but I have a problem, depending on the character in the string, the asp script shows an error: Quote:
Examples: by eighteen fifteen, five thousand chronometers were in use on ships sailing the world's oceans. the twenty-six year old singer says her music attempts to reach out for an understanding of othe people's experiences The output string stop here with the above error message. MY CODE: Quote:
How I fix the error or hidden the error message? Thanks in advance for any thoughts. Lebron |
The error means that there is *NO* element 2 in the array.
That is, your SPLIT did *NOT* create at least 3 parts. But your code makes NO SENSE anyway: Code:
<%WHY? NOTHING changes in the 3 iterations. Maybe you should DEBUG??? Code:
<% |
| All times are GMT +1. The time now is 04:15 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.