Trims status string