Hi
I have a large approx. 400,000 records which have a text field of up to 250 characters in length. I would like to search for a text string of a particular format, for example, LLL-NNNNN where L is any letter and N is any number and if found, I would like to extract the particular string from the text.
Searching for all records which contain a text string which contains this format isn't too tricky I believe, but how do I then say OK, extract that block of text? I'm assuming I need to use the Mid([mytextstring],X,9) (9 from the example above) but how do I set the value of X?
I'm having a bit of a brain dead day and can't figure it out
Thanks.
I have a large approx. 400,000 records which have a text field of up to 250 characters in length. I would like to search for a text string of a particular format, for example, LLL-NNNNN where L is any letter and N is any number and if found, I would like to extract the particular string from the text.
Searching for all records which contain a text string which contains this format isn't too tricky I believe, but how do I then say OK, extract that block of text? I'm assuming I need to use the Mid([mytextstring],X,9) (9 from the example above) but how do I set the value of X?
I'm having a bit of a brain dead day and can't figure it out
Thanks.