TRIM() may solve leading or trailing spaces, but would not solve cases where there is more than one space between the words.
To solve cases where there are double spaces within the string, use:
------------------------------------------------
UBOUND(Split(REPLACE({Your_String}," "," "

, " "

)
------------------------------------------------
This starts by replacing any double space within the string by a single space.
Cheers,
- Ido
CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.