remove_space.m¶
Basic Information¶
SYNTAX:
string_ot= remove_space(string_in, position);
PURPOSE: Removes spaces in string (like deblank but allows different location removal)
INPUT: [default]
string_in= input string (single row string NOT string array)
position= 0 all spaces, 1=front, [2=END], 3=front&end {OPTIONAL)
OUTPUT:
string_ot= output string with spaces removed
RESTRICTIONS: Only tested on 2-d arrays (not on vectors or scalars)