```
return value.split(/\s+/);
```

should be sufficient I think.