endswith: Determine if a character string "ends with" specified...

Description Usage Arguments Value Author(s) Examples

View source: R/util.R

Description

Determine if a character string "ends with" specified characters

Usage

1
endswith(x, char, ignore.case = FALSE)

Arguments

x

character, a string

char

character to match

ignore.case

logical, whether case is ignored

Value

logical

Author(s)

Xiaobei Zhao

Examples

1
endswith('Hello World','world',ignore.case=TRUE)

Xmisc documentation built on May 29, 2017, 9:58 p.m.

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