$len » History » Version 3
Per Amundsen, 02/23/2023 04:24 PM
| 1 | 1 | Per Amundsen | _Added in 1.8.10_ |
|---|---|---|---|
| 2 | |||
| 3 | *$len(text)* |
||
| 4 | |||
| 5 | Returns the length of the text. |
||
| 6 | |||
| 7 | *Parameters* |
||
| 8 | |||
| 9 | 3 | Per Amundsen | table(ktable). |
| 10 | |*Parameter*|*Description*| |
||
| 11 | | text | The text to check. | |
||
| 12 | 1 | Per Amundsen | |
| 13 | *Example* |
||
| 14 | |||
| 15 | <pre> |
||
| 16 | 2 | Per Amundsen | ; Check the length of 'text'. |
| 17 | 1 | Per Amundsen | //echo -ag text length is $len(text) |
| 18 | </pre> |