System::String::operator< 方法

String::operator< method

对字符串进行顺序比较。

bool System::String::operator<(const String &str) const
参数类型描述
strconst String&String 用于与当前字符串比较。

ReturnValue

如果此字符串小于 str 则为 true,否则为 false。

另见


title: System::String::operator> 方法 链接标题: operator> 次标题: Aspose.Font for C++ description: ‘System::String::operator> 方法。在 C++ 中对字符串进行顺序比较。’ 类型: 文档 权重: 3300 url: /cpp/system/string/operator_/

String::operator> method

对字符串进行顺序比较。

bool System::String::operator>(const String &str) const
参数类型描述
strconst String&String 用于与当前字符串比较。

ReturnValue

如果此字符串大于 str 则为 true,否则为 false。

另见