strBeginsWith: strBeginsWith

Description Usage Arguments Value Examples

View source: R/string_begins_and_ends.R

Description

String x begins with y

Usage

1

Arguments

x

A big string should begins with y

y

A small string

Value

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

Examples

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

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