/// <summary>
        /// Adds any formatting to text encoded using the FormattedTextToDB function
        /// </summary>
        /// <param name="toFormat">Encoded text to decode</param>
        /// <returns></returns>
        public static string FormattedTextFromDB(string toFormat)
        {
            string toReturn = toFormat;
            char   CR;
            char   LF;

            CR = System.Convert.ToChar(13);
            LF = System.Convert.ToChar(10);

            toReturn = toReturn.Replace("{<CR>}", CR.ToString());
            toReturn = toReturn.Replace("{<LF>}", LF.ToString());
            toReturn = toReturn.Replace("{<AP>}", "'");
            return(toReturn);
        }