Pos function searches for a substring within a string.
Returns the position of the first match for the SubStr substring within the Str string. The search is case-sensitive.
The function has the following parameters:
Specifies the substring to be found.
Specifies the source string.
If the substring was found in the string, the function returns a 1-based index of the first matching character. If the substring was not found, the function returns 0.
For a case-insensitive string search, use the