## String::operator< method


Compare les chaînes par ordre.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| str | const String\& | [String](../) à comparer avec le courant. |

### ReturnValue

true si cet objet est considéré inférieur à str, false sinon.

## Voir aussi

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
---
title: méthode System::String::operator>
titre du lien: operator>
second_title: Aspose.Page pour C++
description: 'méthode System::String::operator>. Compare les chaînes par ordre en C++.'
type: docs
poids: 3300
url: /cpp/system/string/operator_/
---
## String::operator> method


Compare les chaînes par ordre.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| str | const String\& | [String](../) à comparer avec le courant. |

### ReturnValue

true si cet objet est considéré supérieur à str, false sinon.

## Voir aussi

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