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

Description Usage Arguments Value Author(s) Examples

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)

Example output

Attaching package: 'Xmisc'

The following object is masked from 'package:base':

    dir.exists

[1] TRUE

Xmisc documentation built on May 2, 2019, 8:23 a.m.