View Single Post
  #10  
Old 03-20-2003, 04:27 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Tyhm
Tokenize = cleaner than " u ":
u sawk - tokenizes to You suck
u sawk - " u " not found
If you wanna do the indexof( u ,#c), better to make it the indexof( u , #c ) with spaces on either end.
Actually, I'd just do indexof(u,#c) and then use #e to check the characters on either side. If they're spaces, it's a separate word. If not, it isn't.
__________________
Reply With Quote