Source
setContext('StringLength.Result', args.str.length); return { Type: entryTypes.note, Contents: args.str.length, ContentsFormat: formats.txt };
README
Returns the length of the string passed as an argument.
Script Data
| Name | Description |
|---|---|
| Script Type | javascript |
| Tags | Utility |
Inputs
| Argument Name | Description |
|---|---|
| str | The string to evaluate. |
Outputs
| Path | Description | Type |
|---|---|---|
| StringLength.Result | The length of the string passed as an argument. | Unknown |