Jan-20-2024, 02:31 PM
replace is somewhat misleading. str objects are immutable, you cannot change the characters or length of a str. Replace creates a new str object, so when you use replace(), you need to assign the return value to a variable.
you are being stingy about posting code. Your posts are confusing because you make incorrect assumptions about code you don't post.
you are being stingy about posting code. Your posts are confusing because you make incorrect assumptions about code you don't post.