Utils
An instance of the forvendi.BreezzApi.BreezzUtilities class (accessible via forvendi.BreezzApi.UTILS) contains various utility helper methods for string manipulation, truncating, and general system operations.
truncates(String val, Integer length)
Truncates a provided text value to a specified maximum length.
Signature:
public String truncates(String val, Integer length)Parameters:
val: Text value to be truncated.length: Maximum allowed length for the string.
Return Value: String – The truncated text string.
trunc(String val, Integer length)
Truncates a provided text value to a specified maximum length (shorthand helper).
Signature:
public String trunc(String val, Integer length)Parameters:
val: Text value to be truncated.length: Maximum allowed length for the string.
Return Value: String – The truncated text string.