Avoid intermediate string allocation