How to quote the " character in a format statement?
- From: Mirko.Vukovic@xxxxxxxxx
- Date: Wed, 30 Jan 2008 14:38:14 -0800 (PST)
Hi,
This is a follow-up on my previous post, as it relates to generating
valid TecPlot files.
Given a vector of strings, I need to print out a string of the
following form (with the quote characters in it).
"string1" "string2" "string3"
I was trying along the lines of
"4('magic'A5'magic')"
but I could not quite figure out what the magic would be.
My other alternative is to modify the string's by prepending and
appending the quotes.
Any other opinions?
Thank you,
Mirko
.
- Follow-Ups:
- Re: How to quote the " character in a format statement?
- From: Steven G. Kargl
- Re: How to quote the " character in a format statement?
- Prev by Date: Re: passing a variable number of args/vectors to a routine
- Next by Date: Re: Code as documentation
- Previous by thread: passing a variable number of args/vectors to a routine
- Next by thread: Re: How to quote the " character in a format statement?
- Index(es):
Relevant Pages
|