res = strtrim(str)
| Parameter | Description |
|---|---|
| str | a string, a cell of strings or a string array. |
| Parameter | Description |
|---|---|
| res | a string without leading or trailing whitespace. |
strtrim removes leading and trailing whitespace.
strtrim does not remove all significant whitespace (only characters ' \t\n\r\f\v' removed).
strtrim(' Nel Son')
strtrim(" Nel Son")
strtrim([' Nel Son', char(160)])
| Version | Description |
|---|---|
| 1.0.0 | initial version |