mirror of
https://github.com/nushell/nushell.git
synced 2024-12-29 18:39:24 +01:00
bff81f24aa
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
403 B
403 B
str starts-with
checks if string starts with pattern
Usage
> str starts-with <pattern> ...args {flags}
Parameters
<pattern>
the pattern to match- ...args: optionally matches prefix of text by column paths
Flags
- -h, --help: Display this help message
Examples
Checks if string starts with 'my' pattern
> echo 'my_library.rb' | str starts-with 'my'