strfind

Find a string in another.

📝 Syntax

  • occ = strfind(str, pattern)

  • occ = strfind(str, pattern,'ForceCellOutput', ouput)

📥 Input argument

  • str - a string or cell of strings.

  • pattern - a string to find.

  • output - a logical.

📤 Output argument

  • occ - a cell or matrix of integer values: occurences position.

📄 Description

strfind finds a string in another.

💡 Example

🔗 See also

strcmp.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?