From: James Edward Gray II Date: 2005-04-27T04:43:11+09:00 Subject: Re: Clearing StringIO On Apr 26, 2005, at 2:18 PM, Saynatkari wrote: > I think #truncate simply memset()s the buffer but it does not > change the position of the file pointer, so you would probably > need to #seek 0, as well. Thanks for the tip. James Edward Gray II