strff: Returns TRUE if any of the strings of 'first' occur as the...

View source: R/strff.R

strffR Documentation

Returns TRUE if any of the strings of 'first' occur as the first characters of the strings of 'str'.

Description

Returns TRUE if any of the strings of 'first' occur as the first characters of the strings of 'str'.

Usage

strff(first, str, n = NULL, ignore.case = TRUE)

Arguments

first

is the string holding the 'n' characters to find as starting characters in 'str'. Only the first element of 'first' is used.

str

is string in which to find 'first' as starting characters.

n

is the number of leading characters, defaulted to the length of 'first'.

ignore.case

is FALSE for case sensitivity.


arnejohannesholmin/TSD documentation built on April 14, 2024, 5:29 a.m.