I have a string in java.
String textQualifier;
I want to assign it the value "
how can I do it in java. I tried searching but couldn't find anything.
I have a string in java.
String textQualifier;
I want to assign it the value "
how can I do it in java. I tried searching but couldn't find anything.
As said before. In order to adding some chars like " to an string those must be escaped
String myString = "\"";
Note the use of the escape sign \ here...
Now your string is assigned correctly...