I've a problem with splitting this:

```
x = "-301 1021"

```

to this

```
x = -301
y = 1021

```

In C++ this is easier but I really don't know how to do it in Lua. I tried do it like 

```
string1 .. string[i] 

```

@Edit
 I've made it like this but now it doesn't get values which are negative

```
 for coordinate in ActualCoords:gmatch("%w+") do 
     table.insert(coordinates, coordinate)
 end
        x = coordinates[1];
        x = tonumber(x);
        z = coordinates[2];
        z = tonumber(z);

```