nushell/docs/commands/str-starts-with.md
Fernando Herrera dbcadbc12c moved folders
2022-02-07 19:23:12 +00:00

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'