View Full Version : how to print this "


ctb
09 September 2007, 02:25 PM
Hi,

Sorry a basic question here.But, I'm stuck here.
let's say,
string $ABC = "XXXX";
print $ABC;

but, I want the result like:
"XXXX"

not:
XXXX

Does anyone know?
Thanks in advances.

grantimus
09 September 2007, 02:41 PM
string $ABC = "\"XXXX\"";


Also, if you need to print a tab its \t
The return/new line character is \n

ctb
09 September 2007, 06:06 AM
Thanks a lot.

CGTalk Moderation
09 September 2007, 06:06 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.


1