Table Of Contents

strfindall

Version:
    Last Modified: March 15, 2017

    Finds all occurrences of a string within another string.

    Syntax

    c = strfindall(a, b)
    Legacy name: strfind

    Inputs

    a

    String in which you want to search.

    b

    String for which you want to search.

    Outputs

    c

    Starting indexes in a of all occurrences of b. c is a row vector.

    A = 'this is a test for strfindall'
    B = 'is'
    C = strfindall(A, B)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics