Hi,
The post was about trimming a string so I was only dealing with regular and non-breaking spaces at the beginning or end of a string, but the replace would take care of the non-breaking spaces where ever they appeared in the string, if you wanted to get rid of all spaces in the string then...