You can code your own split() function for this task if the provided one is not allowed. You can split a string into it's words by iterating through the characters, adding them to a temporary string, adding this temporary string to a list when you hit a " " and repeating afterwards. It may look like this:
import java.util.List;
import java.util.ArrayList;
...
public static String[] split(String s) {
List<String> output = new ArrayList<String>();
String word = "";
for (char c : s.toCharArray()) {
if (c == ' ') {
if(word.length() > 0)
output.add(word);
word = "";
} else
word += c;
}
output.add(word);
String[] array = new String[output.size()];
array = output.toArray(array);
return array;
}