make a string a list

iapain iapain at gmail.com
Fri May 30 03:13:37 EDT 2008


On May 29, 11:30 pm, Nikhil <mnik... at gmail.com> wrote:
> or a string iterable ? How can I do that. I have lots of '\r\n'
> characters in the string which I think can be easier if it were made
> into a list and I can easily see if the required value (its a numeral)
> is present in it or not after some position or after some characters'
> position.
>
> Thanks,
> Nikhil

If you just want to check required value then you can even use Sets or
build your own hash table.



More information about the Python-list mailing list