str_search: String search helper

Description Usage Arguments See Also

Description

whole_str finds haystack with "whole needles" with any non character as boundaries

part_str finds haystacks that match any of the needles

both_str will find haystacks that contain both needles

Usage

1
2
3
4
5
whole_str(haystack, needle)

part_str(haystack, needle)

both_str(haystack, needle)

Arguments

haystack

object in which to look for the needle

needle

vector of strings to look for - accepts regular expressions

See Also

Other string matching functions: getElem, recodeye(), sort_substr()


eye documentation built on Sept. 5, 2021, 5:25 p.m.