src/libtsduck/base/tsUString.cpp
ts::UString ts::UString::toQuoted(UChar quoteCharacter, const UString& specialCharacters, bool forceQuote) const
{
    UString result(*this);
    result.quoted(quoteCharacter, specialCharacters, forceQuote);
    return result;
}
//----------------------------------------------------------------------------
// Replace the string with a "quoted" version of it.
//----------------------------------------------------------------------------
Replace the string with a "quoted" version of it.
Replace the string with a " quoted " version of it .
ts::UString ts::UString::toQuoted(UChar quoteCharacter, const UString& specialCharacters, bool forceQuote) const
{
    UString result(*this);
    result.quoted(quoteCharacter, specialCharacters, forceQuote);
    return result;
}
ts :: UString ts :: UString :: toQuoted ( UChar quoteCharacter , const UString & specialCharacters , bool forceQuote ) const { UString result ( * this ) ; result . quoted ( quoteCharacter , specialCharacters , forceQuote ) ; return result ; }
Replace the string with a "quoted" version of it.
Replace the string with a " quoted " version of it .