sodakotahusker
Programmer
- Mar 15, 2001
- 601
does this statement only change first occurrence?
var string1 = "hello:dolly:"
var string2 = string1.replace(":"," ");
That is what I am seeing.
If that is true then there should be an additional paramter to indicate all occurences should be replaced????
var string1 = "hello:dolly:"
var string2 = string1.replace(":"," ");
That is what I am seeing.
If that is true then there should be an additional paramter to indicate all occurences should be replaced????