Here's my loop. 

```
if (strSplit[i] == "(") {
    while (strSplit[i] != ")") {
        newElement = newElement.concat(strSplit[i]);
        i++;
    }
    /*add the closing bracket*/
    newElement = newElement.concat(strSplit[i]);
    i++;
}

```

So what we're doing is concatenating the elements in the array together such that it includes both the opening and closing round brackets. 

I find it a bit inelegant that I have to repeat the concatenation one more time to add the closing bracket. 

Is it possible to tell a while loop to 'keep looping until this condition is not met, then execute one more time'?