mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
str plugin can capitalize and trim strings. (#1652)
* Str plugin can capitalize. * Str plugin can trim.
This commit is contained in:
committed by
GitHub
parent
716c4def03
commit
10768b6ecf
@ -47,4 +47,18 @@ Consumes either a single value or a table and converts the provided data to a st
|
||||
─────────
|
||||
6
|
||||
━━━━━━━━━
|
||||
```
|
||||
|
||||
> echo "nu" | str --capitalize
|
||||
━━━━━━━━━
|
||||
<value>
|
||||
─────────
|
||||
Nu
|
||||
━━━━━━━━━
|
||||
|
||||
> echo "Nu " | str --trim
|
||||
━━━━━━━━━
|
||||
<value>
|
||||
─────────
|
||||
Nu
|
||||
━━━━━━━━━
|
||||
```
|
Reference in New Issue
Block a user