[Scilab-users] Number to string with padding of leading blanks by a set of characters

Jens Simon Strom j.s.strom at hslmg.de
Sun Aug 28 16:17:00 CEST 2016


Hello,
I try to  transform the number colum N containing integer elements from 
1 to 999, e. g.

N=[1;11;111]

into

T=["  1";" 11";"111"].

I tried with commands like justify, repmat, string, size, length - but 
without success. Do I miss one or more better adequate command(s)?

Kind regards
Jens



More information about the users mailing list