str_locate_first: extracts position of first character in the pattern within a...

Description Usage Arguments Examples

View source: R/str_locate_first.R

Description

extracts position of first character in the pattern within a string

Usage

1

Arguments

x

is a string

pattern

is a pattern

Examples

1
str_locate_first("12345$9.50 for Math and $11.90 for both subjects", pattern = '\\$')

Kidapt/keda documentation built on Nov. 23, 2019, 3:35 a.m.