Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Geeske Bakker   on Nov 27 In Java Category.

  
Question Answered By: Julio Morgan   on Nov 27

the quotation mark  is a special character in a string. If you want to
read a special character as a string  literal then you place a control
character in front of it. In this case the \ character

"and bob said \"Hi how are you?\""

You probably could use ucode or ascii, but you don't need to.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Checking for qoutation marks? Or get search suggestion and latest updates.


Tagged: