powered by
Find string in another string (without regular expressions), returns indices of all occurences.
str_find(string, patternNoRegex)
string in which we try to find something
string we want to find, "as it is" - no regular exprressions
indices of all occurences (1 = 1st character)
1
str_find1, str_contains, isString
str_find1
str_contains
isString
# NOT RUN { str_find("Hello, hello, hello world", "ell") # 2 9 16 str_find("Hello, hello, hello world", "q") # integer(0) # }
Run the code above in your browser using DataLab