Added extract function to String class and removeEmpty strings from StringList