CoreClasses Xojo Plugin

StringArray Class (console safe)

StringArray is a high speed relocatable string array class.

The string array is different from Xojo array since a string array can be inherited, strings can be sorted, items can be swapped, plugins can use it for cross talk, and it has a iterator interface.

Object
   StringArray

class StringArray implements

IStringIterator

Constructors

StringArrayThe default constructor for the StringArray class.
StringArrayUse this constructor to construct a instance of the array and have influence on the grow rate of the array.

Methods

AddItems (console safe) Use this method to add multiple strings from any container that implements the IStringIterator interface.
Append (console safe) Use this method to append a string to the array.
Count (console safe) Use this function to get the element count from the array.
GetNext (console safe) Use to get next item from the StringArray.
HasNext (console safe) Use to get info if there are more items in the StringArray.
IndexOf (console safe) Returns a index of a element in the array.
Insert (console safe) Use this method to insert a string to the array.
Item (console safe) Use this setter/getter function to read or write to a item in the array.
MoveFirst (console safe) Use to reset the iterator in the StringArray.
Operator_Redim (console safe) Implements the Redim operator.
Operator_Subscript (console safe) Implements operator to write to the array with the ( ) indexer operator.
Operator_Subscript (console safe) Implements operator to read from the array with the ( ) indexer operator.
PeekNext (console safe) Use this function to peek at next item from the StringArray without causing iteration.
Remove (console safe) Use this method to remove strings from the array.
Remove (console safe) Use this method to remove a single string from the array.
Resize (console safe) Use this method to resize the array.
Sort (console safe) Use this method to sort the array.
Swap (console safe) Use this method to swap two objects in the array.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM