Yes, but it sounds like he manually copied and pasted the String into the code. If he did do that, the internal quotes will be a problem.
Type: Posts; User: aussiemcgr
Yes, but it sounds like he manually copied and pasted the String into the code. If he did do that, the internal quotes will be a problem.
You need to escape special characters, like the "
Use: \" to add a single " to a String
For example:
String str = "1234\"567"
Is equal to:
1234"567
Are you able to put it into a char array?
char[] chars = str.toCharArray();