[scilab-Users] Concatenate strings with a tabulation

Calixte Denizet calixte.denizet at scilab.org
Wed Aug 3 18:24:42 CEST 2011


Hi Pierre,

It works for me:

         ___________________________________________
                         scilab-5.3.3

                 Consortium Scilab (DIGITEO)
               Copyright (c) 1989-2011 (INRIA)
               Copyright (c) 1989-2007 (ENPC)
         ___________________________________________


Initialisation :
   Chargement de l'environnement de travail

-->a=sprintf("%s\t%s","a","b")
  a  =

  a    b

-->a=sprintf("%s\t\t%s","a","b")
  a  =

  a        b

-->a=sprintf("%s\t\t\t%s","a","b")
  a  =

  a            b

What is the 'results' string ?

Calixte


On 03/08/2011 12:39, PierreP wrote:
> Hello everybody,
>
> I'm trying to concatenate two strings with a tabulation:
>
> results =  sprintf('%s\t%s',results,reponse);
> or
> results =  msprintf('%s\t%s',results,reponse);
>
> But none works.
>
> How can i do that?
>
> Regards,
>
> Pierre
>
> --
> View this message in context: http://mailinglists.scilab.org/Concatenate-strings-with-a-tabulation-tp3221904p3221904.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.




More information about the users mailing list