StrMtch:

Path: Common/General

% In a matrix with each row a string finds the first matching string.

--------------------------------------------------------------------------
   Form:
   k = StrMtch( s, sM )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   s   (1,:)   String
   sM 	(:,:)   Strings to test

   -------
   Outputs
   -------
   k   (1,:)   Row index for matching string

--------------------------------------------------------------------------

Back to the Common Module page