sperry Posted May 21, 2014 Share Posted May 21, 2014 Is there a way within this formula to replace ALL spaces, instead of just the first one it finds? var zip = Field("Name"); return zip.replace(" ","<span><z newsize=9> </span>"); Quote Link to comment Share on other sites More sharing options...
step Posted May 21, 2014 Share Posted May 21, 2014 var zip = Field("Name"); return zip.replace(/\s/g,"<span><z newsize=9> </span>"); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.