LeadsMail:Location.City

Version: - string  

Summary

Returns city name of the lead location.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("LeadsMail:Location.City")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("LeadsMail:Location.City"); }

Outputting the template tag

<!--@LeadsMail:Location.City-->

Check if string has a value

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