Thread: Need Help
View Single Post
  #6 (permalink)  
Old 04-17-2008, 07:42 PM
Chris.Brown.SPE's Avatar
Chris.Brown.SPE Chris.Brown.SPE is offline
Member
 
Join Date: Apr 2008
Location: State College, PA
Posts: 50
Chris.Brown.SPE is on a distinguished road
Send a message via AIM to Chris.Brown.SPE
You could just make it so that whatever word you go to search for you add a space before and after it. But then if the word comes before a comma or period it wont change it. You would have to make a case statement and have it grab the letter after the word each time and if it is a space, comma, or period allow it, but if it is anything else don't touch it. With this extra overhead it may be more beneficial to add regular expressions into it. Goodluck.
Reply With Quote