function searches for a collection of characters, represented in a pattern_string
, within a source_string
. The function returns the beginning position of the first occurrence of the pattern string in the source string. Both arguments are string expressions, and they are case sensitive, meaning that "c"
is recognized as different from "C"
The function returns the position of the first occurrence of the pattern string, or if no characters from the pattern string are found, the function returns 0.