check code in string quiz