str_find {rPraat}R Documentation

str_find

Description

Find string in another string (without regular expressions), returns indices of all occurences.

Usage

str_find(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

indices of all occurences (1 = 1st character)

See Also

str_find1, str_contains, isString

Examples

str_find("Hello, hello, hello world", "ell")   # 2 9 16
str_find("Hello, hello, hello world", "q")     # integer(0)

[Package rPraat version 1.3.2-1 Index]