## CompareInfo::IndexOf(const String\&, char16_t) const method


Busca el carácter especificado.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| origen | const String\& | Cadena de origen. |
| valor | char16_t | Carácter. |

### ReturnValue

[Index](../../../system/index/) of lookup value in source string or -1 if not found.

## Ver también

* Class [String](../../../system/string/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## CompareInfo::IndexOf(const String\&, char16_t, CompareOptions) const method


Busca el carácter especificado. Solo se admite el modo ordinal.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, CompareOptions options) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| origen | const String\& | Cadena de origen. |
| valor | char16_t | Carácter. |
| opciones | CompareOptions | Opciones de búsqueda. |

### ReturnValue

[Index](../../../system/index/) of lookup value in source string or -1 if not found.

## Ver también

* Class [String](../../../system/string/)
* Enum [CompareOptions](../../compareoptions/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## CompareInfo::IndexOf(const String\&, char16_t, int) const method


Busca el carácter especificado.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, int start_index) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| origen | const String\& | Cadena de origen. |
| valor | char16_t | Carácter. |
| start_index | int | Índice de inicio de búsqueda en la cadena de origen. |

### ReturnValue

[Index](../../../system/index/) of lookup value in source string or -1 if not found.

## Ver también

* Class [String](../../../system/string/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## CompareInfo::IndexOf(const String\&, char16_t, int, CompareOptions) const method


Busca el carácter especificado. Solo se admite el modo ordinal.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, int start_index, CompareOptions options) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| origen | const String\& | Cadena de origen. |
| valor | char16_t | Carácter. |
| start_index | int | Índice de inicio de búsqueda en la cadena de origen. |
| opciones | CompareOptions | Opciones de búsqueda. |

### ReturnValue

[Index](../../../system/index/) of lookup value in source string or -1 if not found.

## Ver también

* Class [String](../../../system/string/)
* Enum [CompareOptions](../../compareoptions/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## CompareInfo::IndexOf(const String\&, char16_t, int, int) const method


Busca el carácter especificado.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, int start_index, int count) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| origen | const String\& | Cadena de origen. |
| valor | char16_t | Carácter. |
| start_index | int | Índice de inicio de búsqueda en la cadena de origen. |
| count | int | Número de caracteres en la cadena de origen. |

### ReturnValue

[Index](../../../system/index/) of lookup value in source string or -1 if not found.

## Ver también

* Class [String](../../../system/string/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## CompareInfo::IndexOf(const String\&, char16_t, int, int, CompareOptions) const method


Busca el carácter especificado. Solo se admite el modo ordinal.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, char16_t value, int start_index, int count, CompareOptions options) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| origen | const String\& | Cadena de origen. |
| valor | char16_t | Carácter. |
| start_index | int | Índice de inicio de búsqueda en la cadena de origen. |
| count | int | Número de caracteres en la cadena de origen. |
| opciones | CompareOptions | Opciones de búsqueda. |

### ReturnValue

[Index](../../../system/index/) of lookup value in source string or -1 if not found.

## Ver también

* Class [String](../../../system/string/)
* Enum [CompareOptions](../../compareoptions/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## CompareInfo::IndexOf(const String\&, const String\&) const method


Busca una subcadena.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| origen | const String\& | Cadena de origen. |
| valor | const String\& | Valor de búsqueda. |

### ReturnValue

[Index](../../../system/index/) of lookup value in source string or -1 if not found.

## Ver también

* Class [String](../../../system/string/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## CompareInfo::IndexOf(const String\&, const String\&, CompareOptions) const method


Busca una subcadena. Solo se admite el modo ordinal.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, CompareOptions options) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| origen | const String\& | Cadena de origen. |
| valor | const String\& | Valor de búsqueda. |
| opciones | CompareOptions | Opciones de búsqueda. |

### ReturnValue

[Index](../../../system/index/) of lookup value in source string or -1 if not found.

## Ver también

* Class [String](../../../system/string/)
* Enum [CompareOptions](../../compareoptions/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## CompareInfo::IndexOf(const String\&, const String\&, int) const method


Busca una subcadena.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, int start_index) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| origen | const String\& | Cadena de origen. |
| valor | const String\& | Valor de búsqueda. |
| start_index | int | Índice de inicio de búsqueda en la cadena de origen. |

### ReturnValue

[Index](../../../system/index/) of lookup value in source string or -1 if not found.

## Ver también

* Class [String](../../../system/string/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## CompareInfo::IndexOf(const String\&, const String\&, int, CompareOptions) const method


Busca una subcadena. Solo se admite el modo ordinal.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, int start_index, CompareOptions options) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| origen | const String\& | Cadena de origen. |
| valor | const String\& | Valor de búsqueda. |
| start_index | int | Índice de inicio de búsqueda en la cadena de origen. |
| opciones | CompareOptions | Opciones de búsqueda. |

### ReturnValue

[Index](../../../system/index/) of lookup value in source string or -1 if not found.

## Ver también

* Class [String](../../../system/string/)
* Enum [CompareOptions](../../compareoptions/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## CompareInfo::IndexOf(const String\&, const String\&, int, int) const method


Busca una subcadena.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, int start_index, int count) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| origen | const String\& | Cadena de origen. |
| valor | const String\& | Valor de búsqueda. |
| start_index | int | Índice de inicio de búsqueda en la cadena de origen. |
| count | int | Número de caracteres en la cadena de origen. |

### ReturnValue

[Index](../../../system/index/) of lookup value in source string or -1 if not found.

## Ver también

* Class [String](../../../system/string/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## CompareInfo::IndexOf(const String\&, const String\&, int, int, CompareOptions) const method


Busca una subcadena. Solo se admite el modo ordinal.

```cpp
virtual int System::Globalization::CompareInfo::IndexOf(const String &source, const String &value, int start_index, int count, CompareOptions options) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| origen | const String\& | Cadena de origen. |
| valor | const String\& | Valor de búsqueda. |
| start_index | int | Índice de inicio de búsqueda en la cadena de origen. |
| count | int | Número de caracteres en la cadena de origen. |
| opciones | CompareOptions | Opciones de búsqueda. |

### ReturnValue

[Index](../../../system/index/) of lookup value in source string or -1 if not found.

## Ver también

* Class [String](../../../system/string/)
* Enum [CompareOptions](../../compareoptions/)
* Class [CompareInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
