cmStringAlgorithms: Add cmIsSpace, cmTrimWhitespace, cmEscapeQuotes and cmTokenize
This adds the following functions to cmStringAlgorithms
:
cmIsSpace
-
cmTrimWhitespace
(moved fromcmSystemTools::TrimWhitespace
) -
cmEscapeQuotes
(moved fromcmSystemTools::EscapeQuotes
) -
cmTokenize
(moved fromcmSystemTools::tokenize
and adapted to acceptcm::string_view
The testStringAlgorithms test is extended with tests for cmTrimWhitespace
, cmEscapeQuotes
and cmTokenize
.