I have some text in string which i want to split in half but so it breaks after a complete word.
$text = "This is a string of test text";