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

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