str_contains {rPraat} | R Documentation |
str_contains
Description
Find string in another string (without regular expressions), returns TRUE
/ FALSE
.
Usage
str_contains(string, patternNoRegex)
Arguments
string |
string in which we try to find something |
patternNoRegex |
string we want to find, "as it is" - no regular exprressions |
Value
TRUE
/ FALSE
See Also
Examples
str_contains("Hello world", "wor") # TRUE
str_contains("Hello world", "WOR") # FALSE
str_contains(tolower("Hello world"), tolower("wor")) # TRUE
str_contains("Hello world", "") # TRUE
[Package rPraat version 1.3.2-1 Index]