I meant chomp of course
Then you will have to test whether the first character has the value of Perl's special variable $/ to be removed. See chomp.
Cheers, Sören
In reply to Re^2: Chop command that removes the first character
by Happy-the-monk
in thread Chop command that removes the first character
by mosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |