Table Of Contents

strtrimwhite

Version:
    Last Modified: March 15, 2017

    Removes all white space, including spaces, tabs, carriage returns, and linefeeds, from both ends of a string or string vector.

    Syntax

    b = strtrimwhite(a)
    Legacy name: strtrim

    Inputs

    a

    String or string vector.

    Outputs

    b

    a with the white space removed from both ends of the string or the string vector.

    a = '  run strtrimwhite in MathScript   ';
    b = strtrimwhite(a)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics