in reply to Re: regexp on utf8 string
in thread regexp on utf8 string
my string always contains spaces and/or dashes so I uppercase each letters which follows one or more spaces or dashes.$string = "\u\L$string";
Regards, Frederic$string =~ s/([\s-]+)(.)/$1\u$2/g;
|
|---|