by "Andrew Koenig" <ark@[EMAIL PROTECTED]
>
May 9, 2008 at 03:44 AM
> i am sorry... i got it....
> it will work if do it like this
> crap.replace(crap.length(),1,"xx");
Yes, it will. However, it would be more honest to write it this way:
crap.replace(crap.length(),0,"xx");
and even easier to write it this way:
crap += "xx";
as others have already pointed out.