same_index: the index of identical character

same_indexR Documentation

the index of identical character

Description

the index of identical character

Usage

same_index(s1, s2, nth = NULL, ignore_case = FALSE)

Arguments

s1

string1

s2

string2

nth

just return nth index

ignore_case

ignore upper or lower cases

Value

list of identical character indices

Examples

same_index("AAAA", "ABBA")

baizer documentation built on Oct. 19, 2023, 9:07 a.m.