From: "francisrammeloo@..." Date: 2005-07-29T23:56:02+09:00 Subject: Re: Chopping the beginning of a string elegantly Thanks all, I eventually used this thePane = line.scan(/Begin\w+/)[0].sub(/Begin/, "") where line looks like this: BeginCaption 0, 20, 66, .. It looks a little better but still not very elegant. Is it possible to make it even still shorter? Best regards, Francis