Share
How to add character before each word in a string
Question
Hi,
How can I add a character before each word in a string using Javascript?
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Answer ( 1 )
You could write a function like this:
Then just call the function: