str plugin can capitalize and trim strings. (#1652)

* Str plugin can capitalize.

* Str plugin can trim.
This commit is contained in:
Andrés N. Robalino
2020-04-24 16:37:58 -05:00
committed by GitHub
parent 716c4def03
commit 10768b6ecf
5 changed files with 188 additions and 8 deletions

View File

@ -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
━━━━━━━━━
```