G
groovyd
hi everyone, i have programmed quite extensively in C and C++ but am a
newbie to javascript and am currently busy working my way through
'JavaScript: The Definitive Guide', a great book infact.
A question i have is in the inability for java to mutate (change)
Strings, like string[3]='a'; kindof thing. Could someone please tell
me why? Seems like an important ability to be able to edit your
strings directly without forming another. atleast in C it was. maybe
i am too old school because it seems hard to teach this old dog new
tricks
and speaking of hard to learn tricks... i am new to regex and am
trying to figure out an equivalent expression which would allow me to
replace a character of a string at a certain character position such
as string[3]='a'. i am assuming you do this sort of thing through the
regex replace() function?
/\w^\S*{3,5}(\n)+/... errrrrrrrrrrrr....
thanks in advance!
newbie to javascript and am currently busy working my way through
'JavaScript: The Definitive Guide', a great book infact.
A question i have is in the inability for java to mutate (change)
Strings, like string[3]='a'; kindof thing. Could someone please tell
me why? Seems like an important ability to be able to edit your
strings directly without forming another. atleast in C it was. maybe
i am too old school because it seems hard to teach this old dog new
tricks
and speaking of hard to learn tricks... i am new to regex and am
trying to figure out an equivalent expression which would allow me to
replace a character of a string at a certain character position such
as string[3]='a'. i am assuming you do this sort of thing through the
regex replace() function?
/\w^\S*{3,5}(\n)+/... errrrrrrrrrrrr....
thanks in advance!