## String::IndexOf(char_t, int, int) const method


Zeichen-Vorwärtssuche im Substring.

```cpp
int System::String::IndexOf(char_t c, int startIndex, int count) const
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| c | char_t | Gesuchtes Zeichen. |
| startIndex | int | Index, ab dem die Suche gestartet wird. |
| count | int | Anzahl der zu durchsuchenden Zeichen. |

### ReturnValue

Index der ersten Zeichenposition seit startIndex oder -1, falls nicht gefunden.

## Siehe auch

* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## String::IndexOf(char_t, int) const method


Zeichen-Vorwärtssuche.

```cpp
int System::String::IndexOf(char_t c, int startIndex=0) const
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| c | char_t | Gesuchtes Zeichen. |
| startIndex | int | Index, ab dem die Suche gestartet wird. |

### ReturnValue

Index der ersten Zeichenposition seit startIndex oder -1, falls nicht gefunden.

## Siehe auch

* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## String::IndexOf(const String\&, int, int) const method


Substring-Vorwärtssuche.

```cpp
int System::String::IndexOf(const String &str, int startIndex, int count) const
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| str | const String\& | Zu suchendes Substring. |
| startIndex | int | Position im Quellstring, ab der die Suche gestartet wird. |
| count | int | Anzahl der zu durchsuchenden Zeichen. |

### ReturnValue

Index des zuerst gefundenen Teilstrings oder -1, wenn nicht gefunden. Bei leerer Suchzeichenkette wird immer startIndex zurückgegeben.

## Siehe auch

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## String::IndexOf(const String\&, int, System::StringComparison) const method


Substring-Vorwärtssuche.

```cpp
int System::String::IndexOf(const String &str, int startIndex, System::StringComparison comparison_type) const
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| str | const String\& | Zu suchendes Substring. |
| startIndex | int | Position im Quellstring, ab der die Suche gestartet wird. |
| comparison_type | System::StringComparison | [Comparison](../../comparison/) Modus. |

### ReturnValue

Index des zuerst gefundenen Teilstrings oder -1, wenn nicht gefunden. Bei leerer Suchzeichenkette wird immer startIndex zurückgegeben.

## Siehe auch

* Class [String](../)
* Enum [StringComparison](../../stringcomparison/)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## String::IndexOf(const String\&, int) const method


Substring-Vorwärtssuche.

```cpp
int System::String::IndexOf(const String &str, int startIndex=0) const
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| str | const String\& | Zu suchendes Substring. |
| startIndex | int | Position im Quellstring, ab der die Suche gestartet wird. |

### ReturnValue

Index des zuerst gefundenen Teilstrings oder -1, wenn nicht gefunden. Bei leerer Suchzeichenkette wird immer startIndex zurückgegeben.

## Siehe auch

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## String::IndexOf(const String\&, System::StringComparison) const method


Substring-Vorwärtssuche.

```cpp
int System::String::IndexOf(const String &str, System::StringComparison comparison_type) const
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| str | const String\& | Zu suchendes Substring. |
| comparison_type | System::StringComparison | [Comparison](../../comparison/) Modus. |

### ReturnValue

Index des zuerst gefundenen Teilstrings oder -1, wenn nicht gefunden. Bei leerer Suchzeichenkette wird immer 0 zurückgegeben.

## Siehe auch

* Class [String](../)
* Enum [StringComparison](../../stringcomparison/)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## String::IndexOf(const String\&, int, int, System::StringComparison) const method


Substring-Vorwärtssuche.

```cpp
int System::String::IndexOf(const String &value, int startIndex, int count, System::StringComparison comparisonType) const
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Wert | const String\& | Zu suchendes Substring. |
| startIndex | int | Position im Quellstring, ab der die Suche gestartet wird. |
| count | int | Anzahl der zu durchsuchenden Zeichen. |
| comparisonType | System::StringComparison | [Comparison](../../comparison/) Modus. |

### ReturnValue

Index des zuerst gefundenen Teilstrings oder -1, wenn nicht gefunden. Bei leerer Suchzeichenkette wird immer startIndex zurückgegeben.

## Siehe auch

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