Aspose::Cells::U16String::Trim method

U16String::Trim() const method

Removes all leading and trailing white-space characters from the current string.

U16String Aspose::Cells::U16String::Trim() const

ReturnValue

The string that remains after all white-space characters are removed from the start and end of the current string.

See Also

U16String::Trim(char16_t) const method

Removes all leading and trailing instances of a character from the current string.

U16String Aspose::Cells::U16String::Trim(char16_t trimChar) const
ParameterTypeDescription
trimCharchar16_tA character to remove.

ReturnValue

The string that remains after all instances of the trimChar character are removed from the start and end of the current string.

See Also

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

Removes all leading and trailing occurrences of a set of characters specified in an array from the current string.

U16String Aspose::Cells::U16String::Trim(const Vector<char16_t> &trimChars) const
ParameterTypeDescription
trimCharsconst Vector <char16_t>&An array of characters to remove.

ReturnValue

See Also