I just went through a situation which i thought might be worthwhile to share. i have a list of censored words in a table which a user must never include in an SMS message to a customer. So when an SMS is written in a textbox [actually a text area] on a web page, i loop through all the words in the table and check if any of them is part of the SMS using a recordset and the Instr function. What i realised is that the result returned is case sensitive. For instance a censored word of Party in the table is not equal to PARTY. it took me hours to figure out why my code was not working as expected. in Access VBA, we get away without being bothered by case sensitive characters. With ASP, NOPE.
MICAH
Reply from Richard Rost:
That is correct. ASP is very highly case sensitive. Thanks for sharing.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Active Server Pages Forum.
The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.