Thread
:
Strings are immutable yet they can be changed ?
View Single Post
#
5
(
permalink
)
05-19-2007, 05:08 PM
anjanesh
Member
Join Date: May 2007
Location: Mumbai, India
Posts: 5
So is this a bad way to go about ?
PHP Code:
String s
=
"abcde"
;
s
=
"12345"
;
.
.
.
s
=
"somethingelse"
;
Is there an more efficient way (in terms of memory) to code this ?
anjanesh
View Public Profile
Send a private message to anjanesh
Visit anjanesh's homepage!
Find all posts by anjanesh