Computer Learning Zone CLZ Access Excel Word Windows

Somewhere, something incredible is waiting to be known.

-Carl Sagan
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > Forums > ASP
Back to Active Server Pages Forum    Comments List
Result from table is case sensitive Upload Images   Link   Email  
Mubeezi Micah 
Dear Richard,

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.

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.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 3/28/2024 6:27:52 AM. PLT: 0s