Why are strings immutable?
Byron
DesertLinux at netscape.net
Sat Aug 21 09:43:13 EDT 2004
Hi Brent,
It is usually best to create a function in which you can
1) pass the string to
2) change it as needed
3) return the modified sting back to the original caller.
Can you tell us a little more about what you are trying to accomplish?
Byron
---
Brent W. Hughes wrote:
> I kind of hate to have to convert a string into a list, manipulate it, and
> then convert it back into a string. Why not make strings mutable?
More information about the Python-list
mailing list