## String::LastIndexOf(char_t) const method


Karakter achterwaartse zoekopdracht.

```cpp
int System::String::LastIndexOf(char_t value) const
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| value | char_t | Teken om naar te zoeken. |

### ReturnValue

Index van de laatste tekenpositie of -1 indien niet gevonden.

## Zie ook

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


Karakter achterwaartse zoekopdracht.

```cpp
int System::String::LastIndexOf(char_t value, int32_t startIndex) const
```


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

### ReturnValue

Index van de laatste tekenpositie sinds startIndex of -1 indien niet gevonden.

## Zie ook

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


Karakter achterwaartse zoekopdracht.

```cpp
int System::String::LastIndexOf(char_t value, int32_t startIndex, int32_t count) const
```


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

### ReturnValue

Index van de laatste tekenpositie sinds startIndex of -1 indien niet gevonden.

## Zie ook

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


Substring achterwaartse zoekopdracht.

```cpp
int System::String::LastIndexOf(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 laatst gevonden substring of -1 indien niet gevonden. Voor een lege zoekstring wordt altijd de stringlengte geretourneerd.

## Zie ook

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


Substring achterwaartse zoekopdracht.

```cpp
int System::String::LastIndexOf(const String &str, int startIndex=INT32_MAX) 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 laatst gevonden substring of -1 indien niet gevonden. Voor een lege zoekstring wordt altijd de stringlengte geretourneerd.

## Zie ook

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


Substring achterwaartse zoekopdracht.

```cpp
int System::String::LastIndexOf(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 laatst gevonden substring of -1 indien niet gevonden. Voor een lege zoekstring wordt altijd de stringlengte geretourneerd.

## Zie ook

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


Substring achterwaartse zoekopdracht.

```cpp
int System::String::LastIndexOf(const String &value, int startIndex, int count, 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 | StringComparison | [Comparison](../../comparison/) modus. |

### ReturnValue

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

## Zie ook

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