[thelist] classic asp: string contains

Casey aspnet at thecrookstons.com
Wed Oct 26 16:13:00 CDT 2005


I'm re-doing someone else's code in classis asp.  Can someone remind me, how 
do you check if a string contains certain text?

I need to know if the string Sub_Type (equal to "ChamberHistoric 
HotelTourism")  contains "Historic Hotel"

Of course it does, but how does one parse this out?

Thanks! 




More information about the thelist mailing list