CountryCode

Version: - string  

Summary

Returns Country Code of the point.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("CountryCode")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@CountryCode-->

Check if string has a value

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