LVI Posted April 22, 2013 Share Posted April 22, 2013 I need to change the font of the '@' sign only - in email address to a Arial, but the rest of the text would be different font Example: sally.sample@sample.com Can you provide? Quote Link to comment Share on other sites More sharing options...
step Posted April 22, 2013 Share Posted April 22, 2013 I think you can do this: return Field("Email").replace(/@/g,'<span font="Arial">$1</span>'); Quote Link to comment Share on other sites More sharing options...
dreimer Posted April 22, 2013 Share Posted April 22, 2013 Think this will work return ReplaceSubstring(Field("YourFieldName"), "@", '<f name="NewFontName">' + "@" + '</f>') Quote Link to comment Share on other sites More sharing options...
LVI Posted April 22, 2013 Author Share Posted April 22, 2013 Thank you! 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.