PDA

View Full Version : Preventing a Company Name from Breaking Across a Line


Admin
August 22nd, 2008, 08:20 AM
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"), " ", ' ');