v4 scilab: new function
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@815 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
0fd478dd6f
commit
ef6dd35153
|
@ -0,0 +1,5 @@
|
||||||
|
function strout = deblank(str)
|
||||||
|
// Function removes trailing blanks from input string
|
||||||
|
index = find(ascii(str) ~= 32);
|
||||||
|
strout = part(str,1:index($));
|
||||||
|
endfunction
|
Loading…
Reference in New Issue