strtrimr

Purpose

Strips all whitespace characters from the right side of each element in a string array.

Format

y = strtrimr(sa)
Parameters:

sa (NxM string array) – data

Returns:

y (NxM string array) – contains contents in sa with all whitespace characters from the right side of each element stripped.

Source

strfns.src