Aspose::Cells::U16String::IndexOf method

U16String::IndexOf(const char16_t) const method

Returns the index of the first occurrence of the value in this.

int32_t Aspose::Cells::U16String::IndexOf(const char16_t value) const
ParameterTypeDescription
valueconst char16_tTo be searched.

ReturnValue

The zero-based index position of value if that character is found, or -1 if it is not.

See Also

U16String::IndexOf(const char16_t, int32_t) const method

Returns the index of the first occurrence of the value in this.

int32_t Aspose::Cells::U16String::IndexOf(const char16_t value, int32_t startIndex) const
ParameterTypeDescription
valueconst char16_tTo be searched.
startIndexint32_tThe search starting position.

ReturnValue

The zero-based index position of value if that character is found, or -1 if it is not.

See Also

U16String::IndexOf(const char16_t, int32_t, int32_t) const method

Returns the index of the first occurrence of the value in this.

int32_t Aspose::Cells::U16String::IndexOf(const char16_t value, int32_t startIndex, int32_t count) const
ParameterTypeDescription
valueconst char16_tTo be searched.
startIndexint32_tThe search starting position.
countint32_tThe number of character positions to examine.

ReturnValue

The zero-based index position of value if that character is found, or -1 if it is not.

See Also

U16String::IndexOf(const char16_t*) const method

Returns the index of the first occurrence of the value in this.

int32_t Aspose::Cells::U16String::IndexOf(const char16_t *value) const
ParameterTypeDescription
valueconst char16_t*To be searched.

ReturnValue

The zero-based index position of value if that character is found, or -1 if it is not.

See Also

U16String::IndexOf(const U16String&) const method

Returns the index of the first occurrence of the value in this.

int32_t Aspose::Cells::U16String::IndexOf(const U16String &value) const
ParameterTypeDescription
valueconst U16String&To be searched.

ReturnValue

The zero-based index position of value if that character is found, or -1 if it is not.

See Also

U16String::IndexOf(const U16String&, int32_t) const method

Returns the index of the first occurrence of the value in this.

int32_t Aspose::Cells::U16String::IndexOf(const U16String &value, int32_t startIndex) const
ParameterTypeDescription
valueconst U16String&To be searched.
startIndexint32_tThe search starting position.

ReturnValue

The zero-based index position of value if that character is found, or -1 if it is not.

See Also

U16String::IndexOf(const U16String&, int32_t, int32_t) const method

Returns the index of the first occurrence of the value in this.

int32_t Aspose::Cells::U16String::IndexOf(const U16String &value, int32_t startIndex, int32_t count) const
ParameterTypeDescription
valueconst U16String&To be searched.
startIndexint32_tThe search starting position.
countint32_tThe number of character positions to examine.

ReturnValue

The zero-based index position of value if that character is found, or -1 if it is not.

See Also

U16String::IndexOf(const U16String&, bool) const method

Returns the index of the first occurrence of the value in this.

int32_t Aspose::Cells::U16String::IndexOf(const U16String &value, bool ignoreCase) const
ParameterTypeDescription
valueconst U16String&To be searched.
ignoreCasebooltrue to ignore case during the comparison; otherwise, false.

ReturnValue

The zero-based index position of value if that character is found, or -1 if it is not.

See Also

U16String::IndexOf(const U16String&, int32_t, int32_t, bool) const method

Returns the index of the first occurrence of the value in this.

int32_t Aspose::Cells::U16String::IndexOf(const U16String &value, int32_t startIndex, int32_t count, bool ignoreCase) const
ParameterTypeDescription
valueconst U16String&To be searched.
startIndexint32_tThe search starting position.
countint32_tThe number of character positions to examine.
ignoreCasebooltrue to ignore case during the comparison; otherwise, false.

ReturnValue

The zero-based index position of value if that character is found, or -1 if it is not.

See Also