I have some Pascal case text ("The QuickTime BrownBear FoxTrot Jumps Over The LazyBone DogMan") that I want to change to Camel case ("the quickTime brownBear foxTrot jumps over the lazyBone dogMan").
In Perl, I'd do something like:
$myvar ~= tr/[A-Z](\w+)/[a-z]$1/;
I'm using PCRE, but I have no idea where I'd put the second have of the tr/// operator....
Any ideas?
Thanks,
dreamwolf
In Perl, I'd do something like:
$myvar ~= tr/[A-Z](\w+)/[a-z]$1/;
I'm using PCRE, but I have no idea where I'd put the second have of the tr/// operator....
Any ideas?
Thanks,
dreamwolf