-werners-
Esteemed Contributor III

hm are you sure the spaces are not visible?  Because using display() is my way to go to detect leading/trailing spaces.