Please Try this if u wish,
my $N = 7; $str='polar bear'; $str =~s#^(.{$N})(.*)(.{3})$#\U$1\E$2\L$3#gsi; print $str; output: ********* POLAR Bear
senthil kumar.k
In reply to Re: string translation
by perlsen
in thread string translation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |