str_contains {rPraat} | R Documentation |
Find string in another string (without regular expressions), returns TRUE
/ FALSE
.
str_contains(string, patternNoRegex)
string |
string in which we try to find something |
patternNoRegex |
string we want to find, "as it is" - no regular exprressions |
TRUE
/ FALSE
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