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

View source: R/utils.R

startsWithR Documentation

Test whether strings start or end with a particular string

Description

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

Usage

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


jamovi/jmvcore documentation built on April 24, 2024, 6:20 a.m.