## CompareInfo::IsPrefix(const String\&, const String\&) const method


Prüft, ob die angegebene Zeichenkette mit dem angegebenen Präfix beginnt.

```cpp
virtual bool System::Globalization::CompareInfo::IsPrefix(const String &source, const String &prefix) const
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Quelle | const String\& | Quellzeichenkette. |
| Präfix | const String\& | Präfixzeichenkette. |

### ReturnValue

Wahr, wenn die Zeichenkette mit dem Präfix beginnt; andernfalls falsch.

## Siehe auch

* Class [String](../../../system/string/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
## CompareInfo::IsPrefix(const String\&, const String\&, CompareOptions) const method


Prüft, ob die angegebene Zeichenkette mit dem angegebenen Präfix beginnt, unter Verwendung der angegebenen Vergleichsoptionen.

```cpp
virtual bool System::Globalization::CompareInfo::IsPrefix(const String &source, const String &prefix, CompareOptions options) const
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Quelle | const String\& | Quellzeichenkette. |
| Präfix | const String\& | Präfixzeichenkette. |
| Optionen | CompareOptions | Vergleichsoptionen. |

### ReturnValue

Wahr, wenn die Zeichenkette mit dem Präfix beginnt; andernfalls falsch.

## Siehe auch

* Class [String](../../../system/string/)
* Enum [CompareOptions](../../compareoptions/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
