Jerald Sheets wrote: > You could use the ucfirst function to do that for you... > > > $KeyWord = ucfirst($KeyWord); > Not to mention that ucfirst (and friends lcfirst, uc, and lc) will honour any locale settings (see perldoc perllocale for more info). See also the special escape sequences like "\u$KeyWord\E" in the "Quote and Quote-Like Operators" section of perldoc perlop.