Question: what is the difference between capacity and length?
Answer: The length is the actual size of the string stored in the builder, and the capacity is the maximum size that it can currently fit. The builder's capacity is automatically increased if more characters are added to exceed its capacity.