How can I split a text or string?