CoreClasses REAL Studio Plugin

StringArray Class

StringArray is a high speed relocatable string array class.

The string array is different from REALbasic 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

AddItemsUse this method to add multiple strings from any container that implements the IStringIterator interface.
AppendUse this method to append a string to the array.
CountUse this function to get the element count from the array.
GetNextUse to get next item from the StringArray.
HasNextUse to get info if there are more items in the StringArray.
IndexOfReturns a index of a element in the array.
InsertUse this method to insert a string to the array.
ItemUse this setter/getter function to read or write to a item in the array.
MoveFirstUse to reset the iterator in the StringArray.
Operator_RedimImplements the Redim operator.
Operator_SubscriptImplements operator to write to the array with the ( ) indexer operator.
Operator_SubscriptImplements operator to read from the array with the ( ) indexer operator.
PeekNextUse this function to peek at next item from the StringArray without causing iteration.
RemoveUse this method to remove strings from the array.
RemoveUse this method to remove a single string from the array.
ResizeUse this method to resize the array.
SortUse this method to sort the array.
SwapUse this method to swap two objects in the array.

Supported Platforms:

  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86

    Unsupported Platforms: