creating string containing quotes (" ")

  • Thread starter Roland.Fontaine@gmail.com
  • Start date
R

Roland.Fontaine@gmail.com

Guest
I'm trying to create a string that contains quotes and need some help.
I've tried strcat("my \"name\" is Tom") but this leaves the \ in the
result.
The result I want should look like this "My "Name" is Tom", can anyone
give me some direction on how to build this string.
 
I've tried this, but I don't believe you can assign the printf result
to a variable to use in the future. I have also tried the sprintf
function, but this returns the \ in the result.
 

Welcome to EDABoard.com

Sponsor

Back
Top