Quarks at the ends of the string