Updating an element of a string
Here is another simple question (I'm asking them because I couldn't find a way by myself):
Suppose I have a string
x = "Daniweb"
When I try to update an element like :
x[3] = k
The Visual Studio says it is read only and gives error.
How can I solve this problem?
Thanks..
newbiecoder
Junior Poster in Training
60 posts since Apr 2009
Reputation Points: 10
Solved Threads: 0
Thank you! That really helped!
newbiecoder
Junior Poster in Training
60 posts since Apr 2009
Reputation Points: 10
Solved Threads: 0