## String::operator< method


Jämför strängar i ordning.

```cpp
bool System::String::operator<(const String &str) const
```


| Parameter | Type | Beskrivning |
| --- | --- | --- |
| str | const String\& | [String](../) för att jämföra den aktuella med. |

### ReturnValue

true om detta betraktas som mindre än str, annars false.

## Se även

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
---
title: System::String::operator>‑metod
länktitel: operator>
andra_titel: Aspose.Page för C++
description: 'System::String::operator>‑metod. Jämför strängar i ordning i C++.'
typ: docs
weight: 3300
url: /cpp/system/string/operator_/
---
## String::operator> method


Jämför strängar i ordning.

```cpp
bool System::String::operator>(const String &str) const
```


| Parameter | Type | Beskrivning |
| --- | --- | --- |
| str | const String\& | [String](../) för att jämföra den aktuella med. |

### ReturnValue

true om detta betraktas som större än str, annars false.

## Se även

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
