Hi. I have data in a table like this:
NW 35 6 6 55 PLAT ID 111 T176 BERKS
I'd like to remove the long strings of spaces in the middle of this string, but I dont' want to remove the single space between words.
I thought about just replacing double spaces with single spaces over and over again until there were no more double spaces left:
I'm wondering if there is a more efficient way to do this.
Thanks!
NW 35 6 6 55 PLAT ID 111 T176 BERKS
I'd like to remove the long strings of spaces in the middle of this string, but I dont' want to remove the single space between words.
I thought about just replacing double spaces with single spaces over and over again until there were no more double spaces left:
Code:
set field1 = replace (field1, ' ', ' ')
I'm wondering if there is a more efficient way to do this.
Thanks!