Add method to split text in strings