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');
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.