Unfortunately, it's not always the same length (nor the same chars) and the case statement could be slightly unwieldy. I may have to resort to that anyway.
Thanks ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag ---- On Mon, 17 Oct 2005, Kurt Welgehausen ([EMAIL PROTECTED]) wrote: > If you're sure all the range strings are formatted > correctly and if StartAge <= EndAge, you can do it > with a case expression. The length of the range > string will be >= 3 and <= 7; from the length you > can deduce and hard code the indices in the substr > calls. > > Regards > >