Perl substring, lowercase, uppercase
Looks a bit like this
my $except_first_three_chars = substr($full_string,3);
ie. (expression, offset [, length])
Or maybe you want a file extension?
my $ext = lc(substr $filename, -3, 3);
Some other string gear:
| func | action |
|---|---|
lc(expr) | lowercase |
uc(expr) | UPPERCASE |
ucfirst(expr) | Capitalise |
