Ensures that capacity is reserved for at least the specified number of character units (excluding null terminator).
Any string content within the original capacity is preserved.
- Parameters
-
str | String object. |
minimumCapacity | Minimum string capacity, in character units. |
- Returns
- Operation status.