Learn R Programming

IFC (version 0.2.1)

cpp_seqmatch: Sequence of Strings Matching

Description

Match a sequence of strings in another string

Value

the index (starting at 1) when a match has been found. Otherwise 0.

Arguments

x, y

StringVector to match

Details

smallest sequence will be searched into the largest one.