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