v4 scilab: new function

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@815 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
lionel 2006-07-05 13:19:29 +00:00
parent 0fd478dd6f
commit ef6dd35153
1 changed files with 5 additions and 0 deletions

5
scilab/deblank.sci Normal file
View File

@ -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