Simpler assignment to string method