strpos# swordfish.function.strpos()# If X contains str, return the index in X where the first occurrence of str starts; otherwise, return -1. Parameters: X (Constant) – A string scalar/vector. str (Constant) – A string scalar.