argchr: Index of different instances of a given 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 index of the different instances of the char chr.

Usage

1
argchr(str, chr)

Arguments

str

a string.

chr

a char of nchar(chr) = 1.

Details

None.

Value

Return a vector of indices of the different instances of the character 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.