Add string evaluation convenience function.