字符串数据类
这些类与处理字符串数据相关。更多信息,请参阅Qt 中的 Unicode 支持信息。
使用 QString API 的只读子集统一查看 Latin-1、UTF-8 或 UTF-16 字符串 | |
字节数组 | |
字节数组列表 | |
保存可在字节数组中快速匹配的字节序列 | |
使用 QByteArray API 的只读子集查看字节数组 | |
16 位 Unicode 字符 | |
根据本地化整理算法比较字符串 | |
可用于加快字符串校对速度 | |
8 位 ASCII/Latin-1 字符 | |
优化搜索 Latin-1 文本中的子串 | |
对 US-ASCII/Latin-1 编码字符串字面进行精简封装 | |
在各种语言的数字及其字符串表示之间进行转换 | |
使用正则表达式进行模式匹配 | |
正则表达式与字符串的匹配结果 | |
QRegularExpression 对象与字符串全局匹配结果的迭代器 | |
QByteArrayMatcher 的编译时版本 | |
QLatin1StringMatcher 的编译时版本 | |
统一字符编码字符串 | |
字符串列表 | |
保存可在 Unicode 字符串中快速匹配的字符序列 | |
QString 子串的精简包装器 | |
根据给定的分隔符将字符串分割成标记 | |
通过 QString API 的只读子集统一查看 UTF-16 字符串 | |
在字符串中查找 Unicode 文本边界的方法 | |
读写文本的便捷接口 | |
使用 QString API 的只读子集统一查看 UTF-8 字符串 |
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.