Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replacing White Space in String 1

Status
Not open for further replies.

Robinstwitcher

Programmer
Aug 30, 2006
21
GB
Am trying to clean up data. I am using LTRIM, RTRIM but also need to remove unnecessary spaces within the string.

e.g.

This is my string

should be

This is my string

Any solutions?
 
Apologies for my absolute stupidity - had used a cursor with the replace. However, forgot to write the cursor back to the table - hence no update. Thanks for your prompt response.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top