nushell/docs/commands/str_length.md

402 B

title layout version
str length command 0.59.1

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

> 'hello' | str length

Return the lengths of multiple strings

> ['hi' 'there'] | str length