Jump to content

Preventing a Company Name from Breaking Across a Line


Recommended Posts

Copy and paste everything below this line:


// This rule prevents the content of a field, such as a company's name, from breaking across a line

// Just replace the field name below with the actual field name from your data.

// Make sure you give this rule the same name as the field name in your data. In other words,

// if the field is called "CompanyName" then the rule should also be called "CompanyName".


// Since this rule uses an entity, make sure you select "Treat returned strings as tagged text."


return ReplaceSubstring(Field("CompanyName"), " ", ' ');

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...