?
Solved

Strings with "" inside.

Posted on 1998-08-31
2
Medium Priority
?
172 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 1

Accepted Solution

by:
arbitrary earned 150 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month11 days, 11 hours left to enroll

752 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