str upcase

For strings.

Convert text to uppercase.

Command Type

built-in

Signature

> str upcase {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

Upcase contents.

> 'nu' | str upcase
NU

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