Consider 

```
String[] string1={"abc\n123","def\n456","ghi\n789"};

```

Now how to make an array (say string2) from string1 having content like this

```
string2= {"abc","def","ghi"};

```

Is this possible?
If yes, then how?