gorilla1
11-12-2002, 01:27 PM
I have a string $element="xxxxxx". I wish to change the second character from 'x' to 'p'. Seems like this should work:
substr_replace($element,"P",1,1);
But this makes no change at all. Why not?
G
substr_replace($element,"P",1,1);
But this makes no change at all. Why not?
G