for when you know you don't want the last letter
perldoc -f tr
for when you want to get rid of certain characters no matter where they appear, example: $directory =~ tr/\]//
perldoc perlre
for when you need to do some fancy reg ex substitution stuff to get at real specific stuff like remove a specific character at the end of a string, example: $directory =~ s/\]$//
In reply to Re: the end of a word
by ichimunki
in thread the end of a word
by Sara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |