e.prog: return result.toString() only if there is a result.