in reply to Negative Index with "substr" Not Working
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?
|
|---|