sort_substr: sort substrings

Description Usage Arguments See Also

View source: R/str_helper.R

Description

unify code for substrings and arrange, after tokenizing

Usage

1
sort_substr(x, list_substr)

Arguments

x

vector of strings

list_substr

list of substrings to match against and sort - the order in the list defines the resulting order in the string Should be names list - the names will be the codes to which the tokens will be matched against.

See Also

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


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