this function will always fail on anything like equals(array.length, 3) if the equals fails as the number 3 will be passed into strutils without a split method on it.