As dave says is fine, but if your string has leading/trailing or consecutive spaces you might want to try this
In B2
Hope this helps![]()
=SUBSTITUTE(TRIM(A2)," ","-")
As dave says is fine, but if your string has leading/trailing or consecutive spaces you might want to try this
In B2
Hope this helps![]()
=SUBSTITUTE(TRIM(A2)," ","-")
Last edited by Marcol; 04-29-2011 at 06:52 AM.
If you need any more information, please feel free to ask.
However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....
Also
اس کی مدد کرتا ہے اگر
شکریہ کہنے کے لئے سٹار کلک کریں
If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks