I am implementing a program where I want to store only certain part of the input string.
for eg if the input string is
I want to discard 4 AND 7
Please my program requires an input string of 10000 characters so running time is very crucial for me.
Also while inputting the string I really don't know how many characters will be there.
Does anybody have any suggestions?
Any help will be greatly appreciated