blyons Posted March 23, 2016 Share Posted March 23, 2016 We use FusionPro with our web templates product and are having trouble. The words of, and, at, and for, need to be in italics So it would read: Department of English- and the (*) allows for a line break if necessary. However if we package this and test and use any 2 of the words together (of, and, at, or for) it won’t give a space between them ex: Department ofthe English. var cod = (Trim(Field("COD"))); cod = ReplaceSubstring(cod," of ",' <i>of</i> '); cod = ReplaceSubstring(cod," the ",' <i>the</i> '); cod = ReplaceSubstring(cod," of the ",' <i>of </i> <i>the</i> '); COD = ReplaceSubstring(cod,"*","<br>"); return cod; } Thanks so much in advance for your assist! Quote Link to comment Share on other sites More sharing options...
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.