I have to split a string based on "\" symbol. But, it is throwing exception.
String str = "ram\raj";
String strs[] = str.split("");
for (int i=0; i<strs.length; i++ )
{
System.out.println(str);
}
I have tried in the second model also. But, failed.
System.out.println(str.substring(str.indexOf("")+1));

TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations technology projects - with its network of technology-specific websites, events and online magazines.