str.locate.at.start: Locate a pattern at the start of strings

View source: R/stringtools.R

str.locate.at.startR Documentation

Locate a pattern at the start of strings

Description

Locate a pattern at the start of strings

Usage

## S3 method for class 'locate.at.start'
str(str, pattern, fixed = TRUE)

Examples

## Not run: 
  str.locate.at.start(c("0123456012","1230","012012","01bsf"),"012")
  str.locate.at.start("0123456",c("012","0","1"))
  str.locate.at.end(c("0123456012","1230","012","01bsf"),"012")
  

## End(Not run)

skranz/stringtools documentation built on May 11, 2022, 4:48 a.m.