On Fri, Mar 25, 2011 at 5:45 PM, Vishal vsapr...@gmail.com wrote:
On Fri, Mar 25, 2011 at 3:31 PM, Senthil Kumaran orsent...@gmail.comwrote:
On Fri, Mar 25, 2011 at 03:22:02PM +0530, Vishal wrote:
I have a string that can be many megabytes worth memory size, and i
want to
If you have
Hello,
I have a string that can be many megabytes worth memory size, and i want to
perform simple string replacements. There is a certain sequence I have to
follow...so I do the following:
type(s)
type 'str'
s1 = s.replace(' a', 'S').replace(' \t', '\n').replace('C#', '\n')
Now I would like