strEndsWith: strEndsWith

Description Usage Arguments Value Examples

View source: R/string_begins_and_ends.R

Description

String x ends with y

Usage

1

Arguments

x

A big string should ends with y

y

A small string

Value

If x ends with y, then TRUE; else then FALSE

Examples

1
2
3
4
strEndsWith("hello","lo")
## [1] TRUE
strEndsWith("hello","he")
## [1] FALSE

itsaquestion/MyUtils documentation built on Aug. 25, 2019, 9:46 p.m.