Re: Convert string to char array

2008-07-01 Thread Brandon
Thank you both for your help. "Mike Kent" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Jul 1, 2:49 pm, "Brandon" <[EMAIL PROTECTED]> wrote: > How do I convert a string to a char array? I am doing this so I can edit > the string received from an sql query so I can remove unnecess

Re: Convert string to char array

2008-07-01 Thread Mike Kent
On Jul 1, 2:49 pm, "Brandon" <[EMAIL PROTECTED]> wrote: > How do I convert a string to a char array?  I am doing this so I can edit > the string received from an sql query so I can remove unnecessary > characters. Answering your specific question: Python 2.5.1 (r251:54863, Mar 31 2008, 11:09:52)

Re: Convert string to char array

2008-07-01 Thread Larry Bates
Brandon wrote: How do I convert a string to a char array? I am doing this so I can edit the string received from an sql query so I can remove unnecessary characters. The precise answer is: >>> s = 'abcdefghi' >>> l = list(s) >>> l ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'] >>> But qui

Convert string to char array

2008-07-01 Thread Brandon
How do I convert a string to a char array? I am doing this so I can edit the string received from an sql query so I can remove unnecessary characters. -- http://mail.python.org/mailman/listinfo/python-list