Jesper Young wrote:The argument that you pass to the split method is a regular expression, and ( has a special meaning in regular expressions. You need to escape it:
String  split_string = str.split("\\(");
Neeba Rebbaca wrote:Suppose if i have more than one delimiter how can i split it at a time??