Then you'll be disappointed to learn about substr($s, 0, -1) and slice(@a, 0, -1)
In reply to Re^3: Slicing an array variable with a -1 or any negative number doesn't work
by ikegami
in thread Slicing an array variable with a -1 or any negative number doesn't work
by igoryonya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |