## Syntax

`SIZE(text_or_array)`

## Usage examples

|     |     |
| --- | --- |
| Input | 1<br>{<br>2<br>"my_action":{<br>3<br>"message":[<br>4<br>"north",<br>5<br>"south",<br>6<br>"east",<br>7<br>"west"<br>8<br>]<br>9<br>}<br>10<br>}<br>Copy |
| Formula | `SIZE(my_action.message)` |
| Output | "4"<br>Copy |

|     |     |
| --- | --- |
| Input | 1<br>{<br>2<br>"my_action":{<br>3<br>"message":"north"<br>4<br>}<br>5<br>}<br>Copy |
| Formula | `SIZE(my_action.message)` |
| Output | "5"<br>Copy |

## Sample Actions

Event Transform

My Action

Event Transform

SIZE

### Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.
