Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mutable strings
#3
it would be nice if there was a mutable string that can handle the full range of values that regular immutable strings can.  for now, i convert them to a list, work on them as needed, and finally join it all back to a regular immutable string (if i need the result as a string).  mutable strings would probably be no more efficient than a list,  but, having them could make for cleaner more readable code by not having the conversions coded in there.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
mutable strings - by Skaperen - Aug-26-2017, 02:17 AM
RE: mutable strings - by ichabod801 - Aug-26-2017, 02:33 AM
RE: mutable strings - by Skaperen - Dec-03-2017, 01:23 AM
RE: mutable strings - by snippsat - Dec-03-2017, 03:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  the quest for a mutable string (buffer) Skaperen 2 2,126 Apr-04-2024, 12:42 PM
Last Post: Skaperen
  the quest for a mutable string (more) Skaperen 0 1,071 Apr-04-2024, 04:01 AM
Last Post: Skaperen
  print a list strings is fast but printing the joined strings is slow Skaperen 9 5,543 Aug-26-2019, 07:48 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020