Optimize some code by using the new stringWithCString:andLength: method.