Srch.U.trimTitle Method (DisplayTemplatesSrch)

Trims the given title. If the title’s length is more than maximumLengthInChars, the title will be trimmed and an ellipsis will be appended.

Srch.U.trimTitle(title, maximumLengthInChars, numberOfTermsToUse)

Return value

The trimmed title.

Parameters

  • title

  • maximumLengthInChars
    The maximum length of characters after which the title will be trimmed.

  • numberOfTermsToUse
    The number of terms to use.