first_argchrR Documentation

Index of a first instance of char in a string

Description

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

Usage

first_argchr(str, chr)

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.