plus sign

admin

Administrator
Staff member
i have a var that contains plus signs (+) between words, so when i display its contents it looks like this:

Hi+there!

i tried var.replace('+', ' ')

but that didnt work, probably because the plus sign most likely said "Replace (') and (') with (' ')", so how do i get the replace function to recognize the plus sign as what to replace?
 
Back
Top