GSAK (Geocaching Swiss Army Knife)
 

Contents - Index


EntityDecode (function)

EntityDecode(sData) : string

This macro function is mainly to assist macro authors cope with changes to the GroundSpeak site (around July 2008) which means that data (like notify emails) are now including entities rather than the actual character (or the UTF8 version of the character). This function will convert the entity to the corresponding Ansi character.

sData is a string containing the data to be converted. Any entities found in this data will be converted to the corresponding single character equivalent.

For example if the entity > will be converted to > and & converted to &

Alpha List         Category List
Copyright 2004-2011 CWE Computer Services  
Privacy Policy Contact