first_argchr: Index of a first instance of char in a string

Description Usage Arguments Details Value See Also

View source: R/tools.R

Description

Take a string str, then look for the position index of the first instance of the char chr.

Usage

1

Arguments

str

a string.

chr

a char of length(chr) = 1.

Details

None.

Value

Return the position index of the first chr in str.

See Also

argchr returns all the instances of chr in str.
first_argchr returns the first instance of chr in str.
delstr_begin deletes the beginning of a string.
delstr_end deletes the end of a string.


functClust documentation built on Dec. 2, 2020, 5:06 p.m.