truncate( param1, param2 )
Truncate a string that exceeds a desired character length.
String to potentially truncate.
Length to truncate the input string to.
Optional suffix to append to the string if truncation occurred. This suffix will count against the total allowed length.
The truncated string, or the original string if no truncation was necessary.