Re: [Numpy-discussion] Rotate Left and Rotate Right

2009-05-20 Thread josef . pktd
On Wed, May 20, 2009 at 7:53 AM, Cristi Constantin wrote: > Good day, me again. > I have this string of data : > String = 'i want\nto go\nto the\nbeach'. > > I want to rotate this data to left, or to right, after is split it after > '\n'. > Note that it's important to use 'U' array, because i migh

[Numpy-discussion] Rotate Left and Rotate Right

2009-05-20 Thread Cristi Constantin
Good day, me again. I have this string of data : String = 'i want\nto go\nto the\nbeach'. I want to rotate this data to left, or to right, after is split it after '\n'. Note that it's important to use 'U' array, because i might have unicode characters in this string. So normal, the text is: i wa