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

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)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.