sperry Posted May 21, 2014 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
ThomasLewis Posted May 21, 2014 Posted May 21, 2014 You can try .replace(/\s/g, "<span><z newsize=9> </span>") The g makes it a global change. Quote
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.