I want to format string.
The string is like..S = 'UPS Surface Collect #954365'.
Inthis string after 'Collect' there age two spaces which I want only one.
How to do this.
REPLACE ALL OCCURRENCES OF ' #' IN str WITH '#'.