Jump to content

Preventing a Company Name from Breaking Across a Line


Admin1676454018

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

Archived

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

×
×
  • Create New...