str for strings> str {flags} 
| input | output | 
|---|---|
| nothing | string | 
You must use one of the following subcommands. Using this command as-is will only produce this help message.
| name | type | usage | 
|---|---|---|
| str camel-case | Builtin | Convert a string to camelCase. | 
| str capitalize | Builtin | Capitalize first letter of text. | 
| str contains | Builtin | Checks if string input contains a substring. | 
| str distance | Builtin | Compare two strings and return the edit distance/Levenshtein distance. | 
| str downcase | Builtin | Make text lowercase. | 
| str ends-with | Builtin | Check if an input ends with a string. | 
| str expand | Builtin | Generates all possible combinations defined in brace expansion syntax. | 
| str index-of | Builtin | Returns start index of first occurrence of string in input, or -1 if no match. | 
| str join | Builtin | Concatenate multiple strings into a single string, with an optional separator between each. | 
| str kebab-case | Builtin | Convert a string to kebab-case. | 
| str length | Builtin | Output the length of any strings in the pipeline. | 
| str pascal-case | Builtin | Convert a string to PascalCase. | 
| str replace | Builtin | Find and replace text. | 
| str reverse | Builtin | Reverse every string in the pipeline. | 
| str screaming-snake-case | Builtin | Convert a string to SCREAMING_SNAKE_CASE. | 
| str snake-case | Builtin | Convert a string to snake_case. | 
| str starts-with | Builtin | Check if an input starts with a string. | 
| str substring | Builtin | Get part of a string. Note that the start is included but the end is excluded, and that the first character of a string is index 0. | 
| str title-case | Builtin | Convert a string to Title Case. | 
| str trim | Builtin | Trim whitespace or specific character. | 
| str upcase | Builtin | Make text uppercase. | 
Tips: Command str was not included in the official binaries by default, you have to build it with --features=extra flag
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/str.html