FIND: Find Character Number in String

Description Usage Arguments Value Author(s) See Also Examples

View source: R/FIND.R

Description

Returns the character number of a specified character in a string/vector.

Usage

1
FIND(char_find, x)

Arguments

char_find

Specific character you would like to find in string/vector.

x

Character vector or string you would like to slice.

Value

Returns the first character number of a specified character in a string or character vector.

Author(s)

Nick Bultman, njbultman74@gmail.com, January 2021

See Also

strsplit

Examples

1
2
FIND("l", "hello")
FIND("l", c("hello", "hey", "hi", "yellow"))

njbultman/xlsxFunctions documentation built on Aug. 8, 2021, 3:14 p.m.