Lookup( )

Parent Previous Next

Lookup( )


Searches the specified lookup file for the given lookup key. It then attempts to match the given string to one for the mappings keys, if a match is found, it will display the mapping value, otherwise it will display the value of the given string.


Syntax


Lookup(String, <content item>);



Arguments

String - Used for matching to the mappings of the lookup file.


content item – any valid content item.


Examples


Lookup('LocaleIDs', @PropertyValue('Language'));