From: basi Date: 2005-08-15T00:46:15+09:00 Subject: Re: YANQ (yet another newbie question): "string"[0.."e"] Wonders never cease! A very readable solution, and it stays within basic Ruby constructs. Well within the color of my Ruby belt at this point. I'll try it. Though I will keep in mind the regex-based solution suggested above, as an example of what can be done for when the pattern gets complex. Thanks all. basi