Added splitString(), modified getAllLinks()