cast value to string