I have data in name fields like
'John Doe MD' .
I need to remove all spaces except one where they exist. I know I can do several replace statements one after another. But I dont know how many spaces exist and cant get my while loop to work right. can someone give me a quick loop to remove all of the spaces except one.
ie while two spaces exist in the string replace with one space..
Thanks!
'John Doe MD' .
I need to remove all spaces except one where they exist. I know I can do several replace statements one after another. But I dont know how many spaces exist and cant get my while loop to work right. can someone give me a quick loop to remove all of the spaces except one.
ie while two spaces exist in the string replace with one space..
Thanks!