code: public static String replaceFunctionsInString(String str, TestContext context) {
          return replaceFunctionsInString(str, context, false);
      }
docs: Search for functions in string and replace with respective function result.
  @param str to parse
  @return parsed string result