Srch.U.getTrimmedProcessedHHXMLString Method (DisplayTemplatesSrch)
Trims the hit-highlighted string; adds an ellipsis at the end if required.
Srch.U.getTrimmedProcessedHHXMLString(value, cutOff)
Return value
The truncated result if the given string is longer than the cut off value; otherwise the same string will be returned.
Parameters
value
The string to trim.cutOff
The maximum allowed length, after which the string will be trimmed.