str uppercase

For strings.

Convert text to uppercase.

Command Type

built-in

Signature

> str uppercase {flags} ...rest

Parameters

  • ...rest: For a data structure input, convert strings at the given cell paths.

Input/output types:

input output
string string
list<string> list<string>
table table
record record

Examples

Uppercase contents.

> 'nu' | str uppercase
NU

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.