namespace psp
{
OUString GetCommandLineToken( int, const OUString& );
OString GetCommandLineToken(int, const OString&); // gets one token of a unix command line style string // doublequote, singlequote and singleleftquote protect their respective // contents
int GetCommandLineTokenCount(const OUString&); // returns number of tokens (zero if empty or whitespace only)
OUString WhitespaceToSpace(std::u16string_view);
OString WhitespaceToSpace(std::string_view); // returns a string with multiple adjacent occurrences of whitespace // converted to a single space. if bProtect is sal_True (nonzero), then // doublequote, singlequote and singleleftquote protect their respective // contents
// parses the first double in the string; decimal is '.' only inlinedouble StringToDouble( std::u16string_view rStr )
{ return rtl::math::stringToDouble(rStr, u'.', u'\0');
}