Re: Using ' and " charachter in a string in java
Posted By:
Anonymous
Posted On:
Tuesday, June 14, 2005 07:59 AM
try to use escape character before them
for example
--> --> "Hello!",mother said.
String myString = ""Hello"!,mother said.";
also for '
--> --> My sister's car name is "Jigalo"
String myString = "My sister\'s car name is "Jigalo"";
Re: Using ' and " charachter in a string in java
Posted By:
Anonymous
Posted On:
Tuesday, June 14, 2005 07:57 AM
try to use escape character before them
for example
--> --> "Hello!",mother said.
String myString = ""Hello"!,mother said.";
also for '
--> --> My sister's car name is "Jigalo"
String myString = "My sister\'s car name is "Jigalo"";
Re: Using ' and " charachter in a string in java
Posted By:
Christopher_Koenigsberg
Posted On:
Thursday, April 14, 2005 07:21 PM
I think you need to break up your string, into separate strings, for the program to run, and each of the args.