[ymeng] String constraint sample