Re: Changing case of the first letter of words in string

2003-08-26 Thread bis
emembered to cc the list when replying to you. > bis wrote: > > > Tnaks zsdc and JEGII. > > > > --- zsdc <[EMAIL PROTECTED]> wrote: > > > >>It gives a syntax error. Maybe try this: > >> > >> #!/usr/bin/perl -p > >> s/(\

Re: Changing case of the first letter of words in string

2003-08-22 Thread bis
akes sense! :) --- Gabriel Cooper <[EMAIL PROTECTED]> wrote: > > > Bis wrote: > > > I want to make the case of the first letter of all > the words in a > > selected string to upper case. The code > > s/\b(\w+)/\u$1\E/g; > > enables me to do this for the

Changing case of the first letter of words in string

2003-08-22 Thread Bis
Analysis or SCTN: Special Report But when I try s/(SCTN:\s*)\b(\w+)/$1\u$2\E/g; nothing seems to change? : ( Bis --