.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead. .. _class_StringArray: StringArray =========== **Category:** Built-In Types Brief Description ----------------- String Array. Member Functions ---------------- +----------------------------------------+---------------------------------------------------------------------------------------------------------------+ | void | :ref:`push_back` **(** :ref:`String` string **)** | +----------------------------------------+---------------------------------------------------------------------------------------------------------------+ | void | :ref:`resize` **(** :ref:`int` idx **)** | +----------------------------------------+---------------------------------------------------------------------------------------------------------------+ | void | :ref:`set` **(** :ref:`int` idx, :ref:`String` string **)** | +----------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`size` **(** **)** | +----------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :ref:`StringArray` | :ref:`StringArray` **(** :ref:`Array` from **)** | +----------------------------------------+---------------------------------------------------------------------------------------------------------------+ Description ----------- String Array. Array of strings. Can only contain strings. Optimized for memory usage, can't fragment the memory. Member Function Description --------------------------- .. _class_StringArray_push_back: - void **push_back** **(** :ref:`String` string **)** Append a string element at end of the array. .. _class_StringArray_resize: - void **resize** **(** :ref:`int` idx **)** Reset the size of the array. .. _class_StringArray_set: - void **set** **(** :ref:`int` idx, :ref:`String` string **)** .. _class_StringArray_size: - :ref:`int` **size** **(** **)** Return the size of the array. .. _class_StringArray_StringArray: - :ref:`StringArray` **StringArray** **(** :ref:`Array` from **)**