## U16String::EndsWith(const U16String\&) const method


Determines whether the end of this string instance matches the specified string.

```cpp
bool Aspose::Cells::U16String::EndsWith(const U16String &value) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | const U16String\& | The string to compare to the substring at the end of this instance. |

## ReturnValue

true if value matches the end of this instance; otherwise, false.

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../)
* Class [U16String](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## U16String::EndsWith(const U16String\&, bool) const method


Determines whether the end of this string instance matches the specified string, ignoring or honoring their case.

```cpp
bool Aspose::Cells::U16String::EndsWith(const U16String &value, bool ignoreCase) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | const U16String\& | The string to compare to the substring at the end of this instance. |
| ignoreCase | bool | true to ignore case during the comparison; otherwise, false. |

## ReturnValue

true if value matches the end of this instance; otherwise, false.

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../)
* Class [U16String](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
