/// <summary>
 /// This routine will replace functions existing in a input string with thier respective values
 /// </summary>
 /// <param name="input">input string</param>
 /// <param name="handler">Additional function handler for custom functions</param>
 /// <returns>input string with all found functions replaced with returned values</returns>
 public static string Replace(string input, AdditionalFunctionEventHandler handler)
 {
     FunctionEval expr = new FunctionEval(input);
     if (handler != null)
         expr.AdditionalFunctionEventHandler += handler;
     return expr.Replace();
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="input"></param>
 /// <returns></returns>
 public static string Replace(string input)
 {
     FunctionEval expr = new FunctionEval(input);
     return expr.Replace();
 }