nushell/docs/commands/str_capitalize.md

438 B

title layout version
str capitalize command 0.59.1

capitalizes text

Signature

> str capitalize ...rest

Parameters

  • ...rest: optionally capitalize text by column paths

Examples

Capitalize contents

> 'good day' | str capitalize

Capitalize contents

> 'anton' | str capitalize

Capitalize a column in a table

> [[lang, gems]; [nu_test, 100]] | str capitalize lang