DwSearchResultSummaryNoHighlight

Version: - string  

Summary

Returns a summary of the current result item (without the search phrase being highlighted).

Settings

The value is based on the text in which the search phrase is found.

Remarks

The search phrase is not highlighted in the summary.

Examples

Outputting the template tag

@GetString("DwSearchResultSummaryNoHighlight")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("DwSearchResultSummaryNoHighlight"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("DwSearchResultSummaryNoHighlight"); }

Outputting the template tag

<!--@DwSearchResultSummaryNoHighlight-->

Check if string has a value

<!--@If Defined(@DwSearchResultSummaryNoHighlight)--> Let's output this tag here: <strong><!--@DwSearchResultSummaryNoHighlight--></strong> <!--@EndIf(@DwSearchResultSummaryNoHighlight)-->