LibreOffice Module vcl (master) 1
Namespaces | Classes | Functions
comphelper::string Namespace Reference

Namespaces

namespace  detail
 

Classes

class  NaturalStringSorter
 

Functions

OString stripStart (const OString &rIn, char c)
 
std::string_view stripStart (std::string_view rIn, char c)
 
OUString stripStart (const OUString &rIn, sal_Unicode c)
 
std::u16string_view stripStart (std::u16string_view rIn, sal_Unicode c)
 
OString stripEnd (const OString &rIn, char c)
 
std::string_view stripEnd (std::string_view rIn, char c)
 
OUString stripEnd (const OUString &rIn, sal_Unicode c)
 
std::u16string_view stripEnd (std::u16string_view rIn, sal_Unicode c)
 
OString strip (const OString &rIn, char c)
 
std::string_view strip (std::string_view rIn, char c)
 
OUString strip (const OUString &rIn, sal_Unicode c)
 
std::u16string_view strip (std::u16string_view rIn, sal_Unicode c)
 
sal_Int32 getTokenCount (std::string_view rIn, char cTok)
 
sal_Int32 getTokenCount (std::u16string_view rIn, sal_Unicode cTok)
 
sal_uInt32 decimalStringToNumber (std::u16string_view str)
 
OUString convertCommaSeparated (uno::Sequence< OUString > const &i_rSeq)
 
std::vector< OUString > split (std::u16string_view rStr, sal_Unicode cSeparator)
 
uno::Sequence< OUString > convertCommaSeparated (std::u16string_view i_rString)
 
OString join (std::string_view rSeparator, const std::vector< OString > &rSequence)
 
sal_Int32 compareNatural (const OUString &rLHS, const OUString &rRHS, const uno::Reference< i18n::XCollator > &rCollator, const uno::Reference< i18n::XBreakIterator > &rBI, const lang::Locale &rLocale)
 
bool isdigitAsciiString (std::string_view rString)
 
bool isdigitAsciiString (std::u16string_view rString)
 
OUString reverseString (std::u16string_view rStr)
 
OUString reverseCodePoints (OUString const &str)
 
sal_Int32 indexOfAny (std::u16string_view rIn, sal_Unicode const *const pChars, sal_Int32 const nPos)
 
OUString removeAny (std::u16string_view rIn, sal_Unicode const *const pChars)
 
OUString setToken (const OUString &rIn, sal_Int32 nToken, sal_Unicode cTok, std::u16string_view rNewToken)
 
void replaceAt (OUStringBuffer &rIn, sal_Int32 nIndex, sal_Int32 nCount, std::u16string_view newStr)
 
OUString sanitizeStringSurrogates (const OUString &rString)
 
OUStringBuffer & remove (OUStringBuffer &rIn, sal_Unicode c)
 
OUStringBuffer & truncateToLength (OUStringBuffer &rBuffer, sal_Int32 nLength)
 
OStringBuffer & padToLength (OStringBuffer &rBuffer, sal_Int32 nLength, char cFill='\0')
 
OUStringBuffer & padToLength (OUStringBuffer &rBuffer, sal_Int32 nLength, sal_Unicode cFill='\0')
 
COMPHELPER_DLLPUBLIC OUString convertCommaSeparated (css::uno::Sequence< OUString > const &i_rSeq)
 
COMPHELPER_DLLPUBLIC sal_Int32 compareNatural (const OUString &rLHS, const OUString &rRHS, const css::uno::Reference< css::i18n::XCollator > &rCollator, const css::uno::Reference< css::i18n::XBreakIterator > &rBI, const css::lang::Locale &rLocale)
 
OUString encodeForXml (std::u16string_view rStr)