The result you show can not be generated by the print statement you give (the print as given wouldn't generate the space between numbers). Show us a complete test script the demonstrates the issue you see.
Is it possible that you are calling other code between the regex that sets $11 and the point where you use the value and that that code alters $11's contents?
In reply to Re: Negative Index with "substr" Not Working
by GrandFather
in thread Negative Index with "substr" Not Working
by he204035
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |