Learn R Programming

baizer (version 0.8.0)

diff_index: the index of different character

Description

the index of different character

Usage

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

Value

list of different character indices

Arguments

s1

string1

s2

string2

nth

just return nth index

ignore_case

ignore upper or lower cases

Examples

Run this code
diff_index("AAAA", "ABBA")

Run the code above in your browser using DataLab