Update BaseStringHelper.php

Length check.