Request that the capacity be at least the specified value.
Change the capacity of this string to the specified newCapacity. Note that the capacity of a string is the maximum length it can accommodate without reallocation. The actual storage allocated may be higher.
| Name | Description |
|---|---|
| newCapacity | requested capacity in characters |