I have a question about what syntax to use to perform the following function.
I have a name field that I want to clean up. It's a first name field that sometimes has middle initial. Here is an example of the problem I am facing
John A
Mike
Justin B
W D
Susan
Mr & Mrs
Brian C
Mrs Jones
The field is variable character so there are no spaces at the end of the text. Basically what I want to do is delete those single alpha characters. The only way I can think of doing this is if there are three or more leading characters and then a space and a single alpha character only between A-Z delete that character. But I am not quite sure how to code that and if you look at the example above I wouldn't want to delete the J in Mrs Jones. I only want to delete a single character after it has followed three or more leading characters and stands alone. If anyone could help me with this I would really appreciate it.
I have a name field that I want to clean up. It's a first name field that sometimes has middle initial. Here is an example of the problem I am facing
John A
Mike
Justin B
W D
Susan
Mr & Mrs
Brian C
Mrs Jones
The field is variable character so there are no spaces at the end of the text. Basically what I want to do is delete those single alpha characters. The only way I can think of doing this is if there are three or more leading characters and then a space and a single alpha character only between A-Z delete that character. But I am not quite sure how to code that and if you look at the example above I wouldn't want to delete the J in Mrs Jones. I only want to delete a single character after it has followed three or more leading characters and stands alone. If anyone could help me with this I would really appreciate it.