aspose file tools*
The moose likes Beginning Java and the fly likes Treat chars as plain text? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Treat chars as plain text?" Watch "Treat chars as plain text?" New topic
Author

Treat chars as plain text?

J Gib
Greenhorn

Joined: Jul 20, 2006
Posts: 5
Hello,
Say i have a line of code:

How can I tell the compiler to treat the "()';" chars as plain text instead of recognizing them as part of the code?
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3679
    
  16
Originally posted by J Gib:
How can I tell the compiler to treat the "()';" chars as plain text instead of recognizing them as part of the code?


Apart from the " all the characters will be treated as plain text. You need to escape the " with a \


should compile


Joanne
 
 
subject: Treat chars as plain text?