StringArray

Category: Built-In Types

Brief Description

String Array.

Member Functions

StringArray StringArray ( Array from )
void push_back ( String string )
void resize ( int idx )
void set ( int idx, String string )
int size ( )

Description

String Array. Array of strings. Can only contain strings. Optimized for memory usage, can’t fragment the memory.

Member Function Description

Create from a generic array.

  • void push_back ( String string )

Append a string element at end of the array.

  • void resize ( int idx )

Set the size of the StringArray. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array.

Change the String at the given index.

Return the size of the array.