## String::StartsWith(const String\&) const method


Controleert of de tekenreeks begint met de opgegeven subreeks.

```cpp
bool System::String::StartsWith(const String &value) const
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| value | const String\& | Zoekstring. |

### ReturnValue

true als de string begint met de opgegeven substring, anders false.

## Zie ook

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## String::StartsWith(const String\&, bool, const SharedPtr\<System::Globalization::CultureInfo\>\&) const method


Controleert of de tekenreeks begint met de opgegeven subreeks.

```cpp
bool System::String::StartsWith(const String &value, bool ignoreCase, const SharedPtr<System::Globalization::CultureInfo> &culture=nullptr) const
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| value | const String\& | Zoekstring. |
| ignoreCase | bool | Specificeert of de vergelijking hoofdletterongevoelig is. |
| cultuur | const SharedPtr\<System::Globalization::CultureInfo\>\& | Cultuur die gebruikt wordt bij het uitvoeren van een stringvergelijking. |

### ReturnValue

true als de string begint met de opgegeven substring, anders false.

## Zie ook

* Class [String](../)
* Typedef [SharedPtr](../../sharedptr/)
* Class [CultureInfo](../../../system.globalization/cultureinfo/)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## String::StartsWith(const String\&, System::StringComparison) const method


Controleert of de tekenreeks begint met de opgegeven subreeks.

```cpp
bool System::String::StartsWith(const String &value, System::StringComparison comparisonType) const
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| value | const String\& | Zoekstring. |
| comparisonType | System::StringComparison | [Comparison](../../comparison/) modus, zie [System::StringComparison](../../stringcomparison/) voor details. |

### ReturnValue

true als de string begint met de opgegeven substring, anders false.

## Zie ook

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