Subject:The last five bytes of a variable length field Author:Jon Gallegos Date:20 May 2008 03:38 PM
I have a text field where the identification number is located on the last five bytes of the field. This is number is always on the last five bytes, but the field length is dynamic.
How can I grab the last five bytes of a variable length field?
Subject:The last five bytes of a variable length field Author:(Deleted User) Date:21 May 2008 09:54 AM
Hi Jon,
there is a typo in the suggestion: variables should be referenced as $x, not just 'x'. As for the last argument of substring, if omitted it means 'until the end of the input string'.