From: 7stud -- Date: 2007-11-26T15:07:40+09:00 Subject: Re: specify start postion of Regexp matching Jordan Callicoat wrote: > You have to create a sub-string with > the 1.8 version, but according to Robert Klemme (above) it's just > creating a pointer into the original string if you're not changing the > substring or original string. I'm having a hard time confirming that: str = "hello" sub_str = str[1, 2] puts str.object_id -->76750 puts sub_str.object_id -->76740 puts sub_str.class -->String -- Posted via http://www.ruby-forum.com/.