string length exclude special characters