validation of semi colon