Solved

Strings with "" inside.

Posted on 1998-08-31
2
164 Views
Last Modified: 2010-03-30
I have to inizialize Strings with "" inside. The problem is that i don't know if there is another character for open and close inizialization for there strings. I've tried '' but doesn't works. How can i do? Thanks for helping me.
Gonne
0
Comment
Question by:gonne
  • 2
2 Comments
 
LVL 1

Accepted Solution

by:
arbitrary earned 50 total points
ID: 1223011
use \"\"   like that->
String s= new String(" \"BlaBlaBla \" said Lord Frillk");
0
 
LVL 1

Expert Comment

by:arbitrary
ID: 1223012
\" is actually an escape character just like \r\n...............


0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now