startsWith: Test whether strings start or end with a particular string

Description Usage Arguments

View source: R/utils.R

Description

Same as base::startsWith() and base::endsWith() except available for R < 3.3

Usage

1
2
3
startsWith(x, prefix)

endsWith(x, suffix)

Arguments

x

a string to test

prefix

a string to test the presence of

suffix

a string to test the presence of


jmvcore documentation built on July 7, 2021, 9:08 a.m.

Related to startsWith in jmvcore...