From: yvon.thoravallist@... (Yvon Thoraval) Date: 2003-09-24T02:34:24+09:00 Subject: Re: [newbie] upper to lower first letter of a word Yvon Thoraval wrote: > > > string.gsub!(/\b[a-z]+/) { |w| black_list.include?(w) ? w : w.capitalize } > > a lot of tanxs �;) it seems, it's a little bit trickier because accentuated characters are taken as \b for example : Vosne-roman�e becomes : Vosne-Roman�E then instead of \b i would have to exclude a list of chars : [�|�|�|�|�|�|�|�|�|�|�] -- Yvon