nushell/docs/commands/str-ends-with.md
JT bff81f24aa
Autogenerate missing docs (#3514)
* Autogenerate missing docs

* Update ansi.md

* Rename question mark command docs

* Delete empty?.md
2021-05-30 12:57:04 +12:00

22 lines
395 B
Markdown

# str ends-with
checks if string ends with pattern
## Usage
```shell
> 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
```shell
> echo 'my_library.rb' | str ends-with '.rb'
```