Table Of Contents

strreplace

Version:
    Last Modified: March 15, 2017

    Replaces strings.

    Syntax

    d = strreplace(a, b, c)
    Legacy name: strrep

    Inputs

    a

    String in which you want to perform a string replacement.

    b

    String you want to replace.

    c

    String with which you want to replace each occurrence of b.

    Outputs

    d

    a with all occurrences of b replaced with c.

    A = 'this is a test for strreplace'
    B = 'test' 
    C = 'TEST'
    D = strreplace(A, B, C)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics