[scilab-Users] How to put " in a string?

Alfredo Jaramillo ajaramillopalma at gmail.com
Tue Nov 10 19:10:40 CET 2009


Hi Mathieu, I try this

-->str1
 str1  =

 hi!

-->str2="'""
 str2  =

 "

-->sprintf("%s%s",str1,str2)
 ans  =

 hi!"

 hi!"more

Where str2 is   '  "    (semicolon and colon)

Saludos

Alfredo Jaramillo Palma
Estudiante Ing. Matemática
Universidad De La Frontera
IX Región, Chile


On Tue, Nov 10, 2009 at 3:03 PM, Mathieu Dubois <mathieu.dubois at limsi.fr>wrote:

> Hello,
>
> For some reasons I would like to put a " character in a string.
>
> Is there an escape sequence to do that?
>
> Thanks in advance,
> Mathieu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20091110/d6db6520/attachment.htm>


More information about the users mailing list