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? var zip = Field("Name"); return zip.replace(" ","<span><z newsize=9> </span>"); Quote Link to comment Share on other sites More sharing options...
ThomasLewis Posted May 21, 2014 Share Posted May 21, 2014 You can try .replace(/\s/g, "<span><z newsize=9> </span>") The g makes it a global change. 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.