Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 181
  • Last Modified:

Strings with "" inside.

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
gonne
Asked:
gonne
  • 2
1 Solution
 
arbitraryCommented:
use \"\"   like that->
String s= new String(" \"BlaBlaBla \" said Lord Frillk");
0
 
arbitraryCommented:
\" is actually an escape character just like \r\n...............


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now