Value
Version: 9.7.0 stringSummary
Returns value of option.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Value")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Value"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Value");
}
Outputting the template tag
<!--@Value-->
Check if string has a value
<!--@If Defined(@Value)-->
Let's output this tag here: <strong><!--@Value--></strong>
<!--@EndIf(@Value)-->