From: "Mauricio Fernández" Date: 2002-08-01T07:42:10+09:00 Subject: Re: How to copy string from in a file from some string onward? On Thu, Aug 01, 2002 at 06:58:23AM +0900, Kurt Euler wrote: > All- > > I'd appreciate your help on this one: > > Please advise as to how I can copy a substring X from string Y > starting with string Z through the end of string Y. > Yet another: x = y[(y =~ /#{z}/)..-1] -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com Vini, vidi, Linux! -- Unknown source