txt = stripblanks_end(txt)
Add here a paragraph of the function description. Other paragraph can be added
Add here a paragraph of the function description
Add here scilab instructions and comments
//stripblanks_end //fonction qui enlève le caractère " " //à la fin de chaque élément du vecteur //chaîne de caractère présenté en entrée. //Entrée : txt un vecteur de chaîne de caractères //Sortie : txt un vecteur de chaîne de caractères 'nettoyé' function txt=stripblanks_end(txt) for i=1:size(txt,1) if length(txt(i))<>0 then while part(txt(i),length(txt(i)))==' '|part(txt(i),length(txt(i)))==code2str(-40) if length(txt(i))==0 then break else txt(i)=part(txt(i),1:length(txt(i))-1); end end end end endfunction