Skip to content

rmchar.m

Basic Information

  SYNTAX:   result = rmchar(string,char)

  PURPOSE:  Remove all instances of a specified character from a string.

  INPUT:
    string = string to remove character from
    char   = character to remove

  OUTPUT:
    result = string after removing char

Dependencies