str.starts.with: Returns als elements of txt that begin with pattern

Description Usage Examples

View source: R/stringtools.R

Description

Returns als elements of txt that begin with pattern

Usage

1
2
## S3 method for class 'starts.with'
str(txt, pattern)

Examples

1
2
3
4
5
## Not run: 
  str = c("Hi how are you", "hi", "now what", "Hi")
  str.starts.with(str,"Hi")

## End(Not run)

skranz/stringtools documentation built on March 20, 2018, 3:23 p.m.