> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# StringMatrix

> Two-dimensional string array.

Two-dimensional string array.

## Constructors

### StringMatrix()

```crmscript theme={null}
StringMatrix
```

Initializes a new instance of the StringMatrix class.

## Methods

## addCell(String)

Adds a cell to the current row.

```crmscript theme={null}
Void addCell(String value)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## addRow()

Adds a row to the matrix.

```crmscript theme={null}
Void addRow()
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## clear()

Clears the whole matrix.

```crmscript theme={null}
Void clear()
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## deleteRow(Integer)

Deletes a row from the matrix.

```crmscript theme={null}
Void deleteRow(Integer row)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## getCell(Integer,Integer)

Returns the value for a given cell.

```crmscript theme={null}
String getCell(Integer row, Integer column)
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The value of the cell at the specified position.

## getNumColumns(Integer)

Returns number of columns in a given row

```crmscript theme={null}
Integer getNumColumns(Integer row)
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The numbers of columns (cells) in the given row.

## getNumRows()

Returns the number of rows in the matrix.

```crmscript theme={null}
Integer getNumRows()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The number of rows in the matrix.

## setCell(Integer,Integer,String)

Sets the value of the specified cell.

```crmscript theme={null}
Vodi setCell(Integer row, Integer column, String value)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)
