在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
c++ 字符检测 IsSurrogatePair,IsHighSurrogate,IsLowSurrogate,ConvertToUtf32 /* Calculate all all kinds of charcters in the memo */ for (int i = 1; i <= allText.Length(); ++i) { /* Check for digit */ if (TCharacter::IsDigit(allText[i])) LDigits++; /* Check for number */ if (TCharacter::IsNumber(allText[i])) LNumber++; /* Check for letter */ if (TCharacter::IsLetter(allText[i])) LLetters++; /* Check for lower-cased letter */ if (TCharacter::IsLower(allText[i])) LLower++; /* Check for upper-cased letter */ if (TCharacter::IsUpper(allText[i])) LUpper++; /* Check for punctuation */ if (TCharacter::IsPunctuation(allText[i])) LPuct++; /* Check for separators */ if (TCharacter::IsSeparator(allText[i])) LSep++; /* Check for symbols */ if (TCharacter::IsSymbol(allText[i])) LSymbols++; /* Check for symbols */ if (TCharacter::IsWhiteSpace(allText[i])) LWhites++; }
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论