0

How to store this in String

I want to know how to store this value in String with double cot The Value is "hello.hi.bye","e:/music/text.txt"

26th Mar 2017, 9:00 AM
Neeraj Tyagi
6 Answers
0
ok please correct typo "cot" its quote to print double quotes you have to use escape sequences \"hello.hi.bye\"
26th Mar 2017, 9:11 AM
Keshave Jat
Keshave Jat - avatar
0
ok I know this but I want to know that can I store both value in string separated by coma
26th Mar 2017, 9:16 AM
Neeraj Tyagi
0
yes you can let me help you you can do it like this "\"hello.hi.bye\",\"e:/music/text.txt\""
26th Mar 2017, 9:20 AM
Keshave Jat
Keshave Jat - avatar
0
I already tried this but it's not working it's showing error in coma
26th Mar 2017, 9:23 AM
Neeraj Tyagi
0
it is working brother everting is good may be you missed double double quote at the end of String plz copy String carefully
26th Mar 2017, 10:27 AM
Keshave Jat
Keshave Jat - avatar
0
SORRY brother I forget to mansion that string should be "public static final" in simple string it's working not in final or static
26th Mar 2017, 10:31 AM
Neeraj Tyagi