Solved

Strings with "" inside.

Posted on 1998-08-31
2
166 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
topping2 challenge 13 89
Java JRE greater than 1.6 5 62
Java Loop 6 59
JAVA API design with micro service cloud in mind 1 12
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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:
This video teaches viewers about errors in exception handling.

813 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

18 Experts available now in Live!

Get 1:1 Help Now