0
Are strings immutable, like in Java?
Well, I think no description is needed :)
2 Answers
+ 4
Yes, string is treated as an array of constant characters. But you can change them. using some function like
strstr
str_replace etc.
or self define function or code. But why did you ask that I did not seeing any question.
+ 1
Thanks for your swift reply! I was just wondering. ;)