Works for me?
$s = '01234567890';; print substr $s, -10, 6;; 123456 $s = '15556667777';; print substr $s, -10, 6;; 555666
In reply to Re: Negative Index with "substr" Not Working
by BrowserUk
in thread Negative Index with "substr" Not Working
by he204035
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |