String exercise