## String::CompareTo method


Vergelijkt twee strings in 'less-equals-more' stijl. Gebruikt de huidige cultuur.

```cpp
int System::String::CompareTo(const String &str) const
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| str | const String\& | [String](../) om dit mee te vergelijken. |

### ReturnValue

Negatieve waarde als dit als lager dan str wordt beschouwd, nul als ze overeenkomen, positieve waarde als dit groter is dan str.

## Zie ook

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