Skip to main content
This class represents a Vector, in which you can add objects of the type String..

Constructors

Vector(Integer[])

Pass a number array to convert into a new object.

Methods

parseString(String, String)

Parses a text into a vector. The fields in the string are separated by the given delimiter.
Returns: CRMScript.Global.Void
This method does not support escaped characters.

removeAt(Integer)

Removes an element at the specified index.
Returns: CRMScript.Global.Void

get(Integer)

Returns an element in the vector at the given position.
Returns: CRMScript.Global.String
If the index specified is out of bounds, a RunTimeException will be raised.

set(Integer, String)

Sets the value at the specified index.
Returns: CRMScript.Global.Void
If the index specified is out of bounds, a RunTimeException will be raised.

size()

Returns the size of the vector.
Returns: CRMScript.Global.Integer

toIntegerArray()

Convert a vector to an integer array.
Returns: CRMScript.Global.Integer[]
Invalid values will be represented as null.

toStringArray()

Convert a vector to a string array.
Returns: CRMScript.Global.String[]

buildString(String)

Returns a string of all the elements in the vector, separated by the specified delimiter.
Returns: CRMScript.Global.String - A string with all the elements separated by the delimiter.
not escape any characters which might be equal to the delimiter.

pushBack(String)

Pushes a string object to the end of the vector.
Returns: CRMScript.Global.Void