PoolStringArray
Array of String.
Description
Array specifically designed to hold Strings. Optimized for memory usage, does not fragment the memory. Note: This type is passed by value and not by reference.
Tutorials
- OS Test Demo
Methods
Method Descriptions
- PoolStringArray PoolStringArray ( Array from )
PoolStringArray. Optionally, you can pass in a generic Array that will be converted.
- append ( String string ) push_back).
- append_array ( PoolStringArray array )
PoolStringArrayat the end of this array.
- bool empty ( )
trueif the array is empty.
- int insert ( int idx, String string )
idx == size()).
- invert ( ) Reverses the order of the elements in the array.
- String join ( String delimiter )
String with each element of the array joined with the given
delimiter.
- push_back ( String string ) Appends a string element at end of the array.
- remove ( int idx ) Removes an element from the array by index.
- resize ( int idx ) Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size.
- set ( int idx, String string ) String at the given index.
- int size ( ) Returns the size of the array.
