Find a centered substring