Is there any possible way to replace a space with in any string w/ JavaScript or PHP? It be best if you give me an example in JavaScript.
-magicyte
Is there any possible way to replace a space with in any string w/ JavaScript or PHP? It be best if you give me an example in JavaScript.
-magicyte
orCode:var myString='this is my string' myString.replace(/ /g,' ')
Code:myString.replace(/( )/g,' ')
Bookmarks