>> put replaceText(myVar, "\s", space) into myVar >> >> leaves myVar unchanged? >> Oops, typo; forget my previous post. Of course, it is "\s+", as Mike said. Best