src/libtsduck/base/tsUString.cpp
ts::UString ts::UString::toSplitLines(size_type maxWidth, const ts::UString& otherSeparators, const ts::UString& nextMargin, bool forceSplit, const ts::UString lineSeparator) const
{
    UStringList lines;
    splitLines(lines, maxWidth, otherSeparators, nextMargin, forceSplit);
    return Join(lines, lineSeparator);
}
//----------------------------------------------------------------------------
// Split a string into multiple lines which are not longer than a specified maximum width.
//----------------------------------------------------------------------------
Split a string into multiple lines which are not longer than a specified maximum width.
Split a string into multiple lines which are not longer than a specified maximum width .
ts::UString ts::UString::toSplitLines(size_type maxWidth, const ts::UString& otherSeparators, const ts::UString& nextMargin, bool forceSplit, const ts::UString lineSeparator) const
{
    UStringList lines;
    splitLines(lines, maxWidth, otherSeparators, nextMargin, forceSplit);
    return Join(lines, lineSeparator);
}
ts :: UString ts :: UString :: toSplitLines ( size_type maxWidth , const ts :: UString & otherSeparators , const ts :: UString & nextMargin , bool forceSplit , const ts :: UString lineSeparator ) const { UStringList lines ; splitLines ( lines , maxWidth , otherSeparators , nextMargin , forceSplit ) ; return Join ( lines , lineSeparator ) ; }
Split a string into multiple lines which are not longer than a specified maximum width.
Split a string into multiple lines which are not longer than a specified maximum width .