View Single Post
  #1 (permalink)  
Old 11-22-2009, 04:18 PM
GMPLLC GMPLLC is offline
Junior Member
 
Join Date: Jun 2009
Posts: 25
Default Convert blank spaces to underscore in text string

I have a dynamic text string...(it is never the same) and I need to convert the blank spaces to underscores. For example....how do I convert the following text string;

'hj fdsffsf jojjkpko rewrrwrw'

...to the following -

'hj_fdsffsf_jojjkpko_rewrrwrw'


(Remember the text and the structure of the string is never the same)
Thanks in advance.
TK
Reply With Quote