endsWith: Backport of endsWith for R < 3.3.0

Description Usage Examples

View source: R/endsWith.R

Description

See the original description in base::endsWith.

Usage

1
endsWith(x, suffix)

Examples

1
2
3
4
5
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_endsWith = getFromNamespace("endsWith", "backports")

bp_endsWith(c("aabb", "bbcc"), "bb")

backports documentation built on May 23, 2017, 9:13 a.m.

Search within the backports package
Search all R packages, documentation and source code