CFLTruncate Procedure
Truncates a string to a specified maximum length.
Signature
CFLTruncate(String: text; Length: integer) result: text
Parameters
String text
The input string to truncate.
Length integer
The maximum length of the resulting string.
Returns
text
The truncated string, or the original string if it's already shorter than or equal to the specified length.