From: Bruno Luong on
"us " <us(a)neurol.unizh.ch> wrote in message <hmgnt1$gkt$1(a)fred.mathworks.com>...

>
> no... STRTRIM only removes insignificant, ie, leading/trailing, white-spaces...
>

Ah OK. Thanks.

Bruno
From: Loren Shure on
In article <hmgnhq$o9c$1(a)fred.mathworks.com>,
b.luong(a)fogale.findmycountry says...
> "Lauren D" <ld(a)mathworks.com> wrote in message <fg8ljd$dq1$1(a)fred.mathworks.com>...
> > Is
> > there a function to remove all spaces in a string?
>
> strtrim ?
>
> Bruno
>

shouldn't be too hard without a function...

str(str==' ') = '';

--
Loren
http://blogs.mathworks.com/loren
http://matlabwiki.mathworks.com/MATLAB_FAQ
 | 
Pages: 1
Prev: Remove all spaces in string
Next: wavplay for MAC