Character String Go to the previous , next section.
When creating a String , you may optionally give a hint as to how many extra characters you expect the string to grow by. This can improve efficiency by reducing the number of calls made to the memory allocator. If the string length exceeds this estimate, the allocated space is increased automatically. Note that space for a zero terminating character is always allocated. The individual characters of a String are indexed originating at 0, like C strings and arrays.