Forum:FirstAnswer.Title

Version: - string  

Summary

Returns title of first answer. 

Settings

The value is based on the Heading field for the forum message.

Examples

Outputting the template tag

@GetString("Forum:FirstAnswer.Title")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:FirstAnswer.Title"); }

Outputting the template tag

<!--@Forum:FirstAnswer.Title-->

Check if string has a value

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