.. highlightlang:: us .. _strfind: strfind ======= .. index:: strfind .. us.tag strfind ENGLISH STR :ref:`strfind` searches for the occurence of a substring in a scalar string. .. function:: rvPositions = strfind(ssString, ssFind) .. us.return **Return Value** *rvPositions* is a vector with the positions of the first character of *ssFind* in *ssString*. If the find string is not found, the function returns 0. .. us.params **Parameters** .. uparam:: ssString *ssString* is a scalar string. .. uparam:: ssFind *ssFind* is a scalar string. .. us.example **Example** :: strfind("This is not a string", "is") 3 6 .. seealso:: :ref:`overview-strings`, :ref:`strtok`, :ref:`strfindreplace`, :ref:`strextract` :sub:`id-1472647`