Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

string formatting.

Hi all.

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.

Thanks.

Tags:
replied

Hi,

Try this.

REPLACE ALL OCCURRENCES OF ' #' IN str WITH '#'.

Regards,

Surinder

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question