startswith: Determine if a character string "starts with" specified...

Description Usage Arguments Value Author(s) Examples

Description

Determine if a character string "starts with" specified characters. A modified version of gdata::startsWith.

Usage

1
startswith(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
startswith('Hello World','hello',ignore.case=TRUE)

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