String Manipulation
Posted: Tue Jun 16, 2009 8:17 am
Hi there,
I have two objectives:
1.I am trying to write the best code preferably a function for ignoring a particular word/strings from a given text
for Eg.:
Input: Why are you going there
say I have called the method to Ignore "are" I'll get output as
Output: Why you going there?
2. I want to check wether a particular pattern is present in the text or not?
I may need both of above at the same time or any one of them in single.
If possible write a code for me.
I have two objectives:
1.I am trying to write the best code preferably a function for ignoring a particular word/strings from a given text
for Eg.:
Input: Why are you going there
say I have called the method to Ignore "are" I'll get output as
Output: Why you going there?
2. I want to check wether a particular pattern is present in the text or not?
I may need both of above at the same time or any one of them in single.
If possible write a code for me.