RIRedinPA Posted December 15, 2009 Share Posted December 15, 2009 in php I would do this: $newstring = str_replace(chr(32), "+", $oldstring); what's the equivalent in Javascript...this crashed and burned... var newstring = oldstring.replace(chr(32), "+"); Mucho gracias! Link to comment https://forums.phpfreaks.com/topic/185258-replacing-spaces-with-signs/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.