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