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!