String[] result = "hi i'm paul".split("\\s+"); to split across one or more cases.
Or you could take a look at Apache Common StringUtils. It has StringUtils.split(String str) method that splits string using white space as delimiter. It also has other useful utility methods