From: dblack@... Date: 2002-11-28T06:54:36+09:00 Subject: Re: call-by-reference problem again Hi -- On Thu, 28 Nov 2002, Shannon Fang wrote: > In my class, I read some string from a text file, and store it in a > local variable, then I defined a private method passing it the local > variable, do some converstion, before it return, I tried to clear the > string to "". It seems I can't do it. You can clear a string like this: str.replace("") [Is there a String#clear in 1.7 or later?] David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav