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 May 26, 2017, 12:16 p.m.