I have a string `String strings ="100.122.323.344;543.433.872.438;218.544.678.322";`
I want to store into int[] like this `int[] ={{100,122,323,344},{543,433,872,438},{218,544,678,322}}`
Below is the sample code

```
public static void main(String[] args) {
    // TODO Auto-generated method stub

    String strings = "100.122.323.344;543.433.872.438;218.544.678.322";
    strings = strings.replace(".", ",");
    System.out.println(strings);
    String[] coordinates = strings.split(";");
    String[] rect=null;
    int[] intcoordinates;
    for(int i=0;i<coordinates.length;i++)
    {
        //System.out.println(coordinates[i]);
        rect= coordinates[i].split(",");

        for(int j=0;j<rect.length;j++)
        {

        }

    }

}

```

Till now i am able to separate value from string but don't know how to convert to int please help