2008/6/16 Rob Dixon <[EMAIL PROTECTED]>: > Dermot wrote: >> Hi All, ...snip > I think you are better off using a simple global regex match Dermot. > > my @f =$str =~ /[A-Z][a-z]+/g; > > That finds all instances of a capital letter followed by one or more lower > case > letters.
Well both varieties work. I swear I had tried both of those methods but the key was obviously the global flag and I didn't have that. Sorry for the poor subject heading. I originally had attempted to do a recursive substr() on the string but that got me no where except really frustrated. Thanx to you both. Dp. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/