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


Voorwaartse zoekopdracht naar teken in substring.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| c | char_t | Teken om naar te zoeken. |
| startIndex | int | Index om de zoekopdracht te starten. |
| count | int | Aantal tekens om door te zoeken. |

### ReturnValue

Index van de eerste tekenpositie vanaf startIndex of -1 als niet gevonden.

## Zie ook

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


Voorwaartse zoekopdracht naar teken.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| c | char_t | Teken om naar te zoeken. |
| startIndex | int | Index om de zoekopdracht te starten. |

### ReturnValue

Index van de eerste tekenpositie vanaf startIndex of -1 als niet gevonden.

## Zie ook

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


Voorwaartse zoekopdracht in substring.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| str | const String\& | Substring om naar te zoeken. |
| startIndex | int | Positie in de bronstring om de zoekopdracht te starten. |
| count | int | aantal tekens om door te zoeken. |

### ReturnValue

Index van de eerst gevonden substring of -1 indien niet gevonden. Voor een lege zoekstring wordt altijd startIndex geretourneerd.

## Zie ook

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


Voorwaartse zoekopdracht in substring.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| str | const String\& | Substring om naar te zoeken. |
| startIndex | int | Positie in de bronstring om de zoekopdracht te starten. |
| comparison_type | System::StringComparison | [Comparison](../../comparison/) modus. |

### ReturnValue

Index van de eerst gevonden substring of -1 indien niet gevonden. Voor een lege zoekstring wordt altijd startIndex geretourneerd.

## Zie ook

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


Voorwaartse zoekopdracht in substring.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| str | const String\& | Substring om naar te zoeken. |
| startIndex | int | Positie in de bronstring om de zoekopdracht te starten. |

### ReturnValue

Index van de eerst gevonden substring of -1 indien niet gevonden. Voor een lege zoekstring wordt altijd startIndex geretourneerd.

## Zie ook

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


Voorwaartse zoekopdracht in substring.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| str | const String\& | Substring om naar te zoeken. |
| comparison_type | System::StringComparison | [Comparison](../../comparison/) modus. |

### ReturnValue

Index van de eerst gevonden substring of -1 indien niet gevonden. Voor een lege zoekstring wordt altijd 0 geretourneerd.

## Zie ook

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


Voorwaartse zoekopdracht in substring.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| value | const String\& | Substring om naar te zoeken. |
| startIndex | int | Positie in de bronstring om de zoekopdracht te starten. |
| count | int | aantal tekens om door te zoeken. |
| comparisonType | System::StringComparison | [Comparison](../../comparison/) modus. |

### ReturnValue

Index van de eerst gevonden substring of -1 indien niet gevonden. Voor een lege zoekstring wordt altijd startIndex geretourneerd.

## Zie ook

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