Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Finding words in a string
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

redbrad0
Advanced Member

USA
3725 Posts

Posted - 23 March 2005 :  22:21:04  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
I know about the instr function but appears I would have to run it thru many times just to make sure. In SQL I can run the following QUERY

Data_Desc NOT LIKE '%[ ]*****[,.;!? ]%'

Which will say the first character has to be a space and the last character has to be one of the other characters inside the ['s. Is there a function like this in ASP or do I just need to build on in ASP that checks all the variables?

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 24 March 2005 :  00:46:40  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Only way I can think of is to use Regexps on a string... either that or create an elaborate function to parse the string character by character like I did with my source code viewer

-Stim

Edited by - Da_Stimulator on 24 March 2005 00:47:14
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.5 seconds. Powered By: Snitz Forums 2000 Version 3.4.07