strim.m

来自「三谱混合相位子波估计!! 这是我的一篇文章所涉及到的matlab 源代码」· M 代码 · 共 11 行

M
11
字号
function s = strim(ss)
% Function removes trailing and leading blanks of a string.
%        s=strim(ss)
% INPUT
% ss     strings whose leading and trailing blanks need to be removed
% OUTPUT
% s      string without leading and trailing blanks

s=fliplr(deblank(fliplr(deblank(ss))));

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?