Skip to contents

Checks whether a string matches any of a vector of prefixes.

Usage

match_prefixes(strings, prefixes)

Arguments

strings

A vector of character string to test

prefixes

A vector of character strings representing the prefixes

Value

A boolean indicating whether the string matches any of the prefixes.