Aspose::Cells::U16String::Substring method

U16String::Substring(int32_t) const method

Retrieves a substring from this instance. The substring starts at a specified character position and continues to the end of the string.

U16String Aspose::Cells::U16String::Substring(int32_t startIndex) const
ParameterTypeDescription
startIndexint32_tThe zero-based starting character position of a substring in this instance.

ReturnValue

A string that is equivalent to the substring that begins at startIndex in this instance, or Empty if startIndex is equal to the length of this instance.

See Also

U16String::Substring(int32_t, int32_t) const method

Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.

U16String Aspose::Cells::U16String::Substring(int32_t startIndex, int32_t length) const
ParameterTypeDescription
startIndexint32_tThe zero-based starting character position of a substring in this instance.
lengthint32_tThe number of characters in the substring.

ReturnValue

A string that is equivalent to the substring that begins at startIndex in this instance, or Empty if startIndex is equal to the length of this instance.

See Also