GlideElement - getDisplayValueExt(Number maxChar, String nullSub)

Gets the formatted display value of a field, or a specified substitute value if the display value is null or empty.

Table 1. Parameters
Name Type Description
maxChar Number Optional, the maximum number of characters to be returned.
nullSub String The value to return if the display value is null or empty.
Table 2. Returns
Type Description
String The formatted display value of the field, or the specified substitute value.