[scilab-Users] how to write strings into a file without leading blank

Pierre MARECHAL pierre.marechal at scilab.org
Fri Sep 10 08:25:50 CEST 2010


  Le 09/09/2010 23:51, Peter Hinow a écrit :
> Dear fellows,
> how can I write strings into a file without leading blank? With
> write(unit,'xxxxx')
> I obtain
>   xxxxx
> but I want
> xxxxx
> It does not seem to be an issue of the string (I tried stripblanks, but that does not change the result).
> Thank you for all help.
> Cheers,
>       Peter
>
Hi peter,

mputl('text','yourfile.txt');
=> http://www.scilab.org/product/man/mputl.html

Cheers,

Pierre

-- 
==============================================
Pierre MARECHAL
Ingénieur Support et Développements
                    ------
Consortium Scilab
Digiteo
Domaine de Voluceau
Rocquencourt - B.P. 105
78153 Le Chesnay Cedex
                    ------
Tél : +33.1.39.63.56.81
==============================================




More information about the users mailing list