Skip to main content
Two-dimensional string array.

Constructors

StringMatrix()

Initializes a new instance of the StringMatrix class.

Methods

addCell(String)

Adds a cell to the current row.
Returns: CRMScript.Global.Void

addRow()

Adds a row to the matrix.
Returns: CRMScript.Global.Void

clear()

Clears the whole matrix.
Returns: CRMScript.Global.Void

deleteRow(Integer)

Deletes a row from the matrix.
Returns: CRMScript.Global.Void

getCell(Integer,Integer)

Returns the value for a given cell.
Returns: CRMScript.Global.String - The value of the cell at the specified position.

getNumColumns(Integer)

Returns number of columns in a given row
Returns: CRMScript.Global.Integer - The numbers of columns (cells) in the given row.

getNumRows()

Returns the number of rows in the matrix.
Returns: CRMScript.Global.Integer - The number of rows in the matrix.

setCell(Integer,Integer,String)

Sets the value of the specified cell.
Returns: CRMScript.Global.Void