Here's the scenerio:
We have a report that includes a field that is about 50 characters long. Within this field is the string ORIG# followed by about 20 characters. The ORIG# isn't always in the same spot, may be at the begining or middle or near the end but is always followed by these 20 characters. I need to be able to go in and retreive 20 characters AFTER the occurance of ORIG#.
I'm thinking what I need to do is somehow count the characters up to the ORIG#, then add 5 to that number. This will give me the number of characters that I need to trim (not the correct term but can't think of anything else), then return 20 characters after that point. I can see what I need to do but just can't get there. Ideas?
We have a report that includes a field that is about 50 characters long. Within this field is the string ORIG# followed by about 20 characters. The ORIG# isn't always in the same spot, may be at the begining or middle or near the end but is always followed by these 20 characters. I need to be able to go in and retreive 20 characters AFTER the occurance of ORIG#.
I'm thinking what I need to do is somehow count the characters up to the ORIG#, then add 5 to that number. This will give me the number of characters that I need to trim (not the correct term but can't think of anything else), then return 20 characters after that point. I can see what I need to do but just can't get there. Ideas?