Aspose::Cells::U16String::IndexOfAny method

U16String::IndexOfAny(const Vector <char16_t>&) const method

Reports the zero-based index of the first occurrence in this instance of any character in a specified array of characters.

int32_t Aspose::Cells::U16String::IndexOfAny(const Vector<char16_t> &anyOf) const
ParameterTypeDescription
anyOfconst Vector <char16_t>&A character array containing one or more characters to seek.

ReturnValue

The zero-based index position of the first occurrence in this instance where any character in anyOf was found; -1 if no character in anyOf was found.

See Also

U16String::IndexOfAny(const Vector <char16_t>&, int32_t) const method

Reports the zero-based index of the first occurrence in this instance of any character in a specified array of characters.

int32_t Aspose::Cells::U16String::IndexOfAny(const Vector<char16_t> &anyOf, int32_t startIndex) const
ParameterTypeDescription
anyOfconst Vector <char16_t>&A character array containing one or more characters to seek.
startIndexint32_tThe search starting position.

ReturnValue

The zero-based index position of the first occurrence in this instance where any character in anyOf was found; -1 if no character in anyOf was found.

See Also

U16String::IndexOfAny(const Vector <char16_t>&, int32_t, int32_t) const method

Reports the zero-based index of the first occurrence in this instance of any character in a specified array of characters.

int32_t Aspose::Cells::U16String::IndexOfAny(const Vector<char16_t> &anyOf, int32_t startIndex, int32_t count) const
ParameterTypeDescription
anyOfconst Vector <char16_t>&A character array containing one or more characters to seek.
startIndexint32_tThe search starting position.
countint32_tThe number of character positions to examine.

ReturnValue

The zero-based index position of the first occurrence in this instance where any character in anyOf was found; -1 if no character in anyOf was found.

See Also