2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: str length
|
|
|
|
layout: command
|
2022-03-04 13:10:09 +01:00
|
|
|
version: 0.59.1
|
2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
outputs the lengths of the strings in the pipeline
|
|
|
|
|
|
|
|
## Signature
|
|
|
|
|
|
|
|
```> str length ...rest```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
- `...rest`: optionally find length of text by column paths
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
Return the lengths of multiple strings
|
|
|
|
```shell
|
|
|
|
> 'hello' | str length
|
|
|
|
```
|
|
|
|
|
|
|
|
Return the lengths of multiple strings
|
|
|
|
```shell
|
|
|
|
> ['hi' 'there'] | str length
|
|
|
|
```
|