Go Back   MarcomCentral (PTI) and FusionPro User Communities > Search Forums

Notices

Showing results 1 to 4 of 4
Search took 0.01 seconds.
Search: Posts Made By: MeeshKB
Forum: Formatting Text November 3rd, 2014, 12:17 PM
Replies: 27
Views: 22,089
Posted By MeeshKB
Re: Superscript tag inside ReplaceSubstring rule

Dan's solution is (as expected) far more eloquent than mine.

Glad you got it to work. :-)
Forum: Formatting Text October 30th, 2014, 04:09 PM
Replies: 27
Views: 22,089
Posted By MeeshKB
Re: Superscript tag inside ReplaceSubstring rule

Try this...

return Field("Disclaimer").replace(/SM/g,'<superscript>'+ "SM" + '</superscript>');

That worked for me.
Forum: Formatting Text August 15th, 2014, 06:56 AM
Replies: 27
Views: 22,089
Posted By MeeshKB
Re: Superscript tag inside ReplaceSubstring rule

Thanks so much, Ste. I knew the <superscript> tags would be involved, but wasn't sure of the syntax inside the ReplaceSubstring expression.

I really appreciate the direction.
Forum: Formatting Text August 14th, 2014, 03:42 PM
Replies: 27
Views: 22,089
Posted By MeeshKB
Superscript tag inside ReplaceSubstring rule

I currently have this rule which replaces the word "LEED" with "LEED®".

var s = Rule("Fit Name Degree Designation");
s = ReplaceSubstring(s, "LEED", "LEED<&reg;>");
return s; The one tweak I...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -7. The time now is 09:00 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.