Simplify duplicated code
The capacity of the string can be calculated using the str_capacity function.
Simplify duplicated code
The capacity of the string can be calculated using the str_capacity
function.