Check Gadget string length boundary