From: Ron Jeffries Date: 2005-12-17T03:47:45+09:00 Subject: Re: Question of reference and (sub)strings. On Fri, 16 Dec 2005 19:33:16 +0900, Mauricio Fernandez wrote: >ust the following should do: > >----------------------------------------------------------------------------- >VALUE >rb_str_substr(str, beg, len) > VALUE str; > long beg, len; >{ > VALUE str2; > ... and so on ... .... Easy for you to say, Maruicio ... but whanging a little C code in there is out of my current scope. ;-> I'd just like to know what's really going on, and am hoping, unfairly, that someone out there knows or will figure it out. Thanks, -- Ron Jeffries www.XProgramming.com I'm giving the best advice I have. You get to decide if it's true for you.