Added functions for spliting strings