Exemple #1
0
        public static bool IsLengthRange(string str, int minLength, int maxLength)
        {
            int length = CommonProvider.GetLength(str);

            return((length >= minLength) && (length < maxLength));
        }
Exemple #2
0
 public static bool IsExceedMaxLength(string str, int maxLength)
 {
     return(CommonProvider.GetLength(str) >= maxLength);
 }