* Returns a new string after removing any whitespace characters * from the beginning and end of the argument. */std::stringtrim(std::string str);/* Private section *//***//* Note: Everything below this point in the file is logically part *//* of the implementation and should not be...
Write std::string versions of ltrim and strip_word Browse files weirddan455 committed Oct 15, 2023 Verified 1 parent 9ad2d83 commit 97a19f2 Showing 3 changed files with 33 additions and 8 deletions. Whitespace Ignore whitespace Split Unified include string_utils.h src dos ...
value, "_", base::TRIM_WHITESPACE, base::SPLIT_WANT_NONEMPTY); if (!IsValidMediaName(value, pieces)) { return std::vector(); return std::vector<std::string_view>(); } return pieces; } gfx::Size DimensionsToMicrons(base::StringPiece value) { gfx::Size DimensionsToMicrons(std::string...
Write std::string versions of ltrim and strip_word Browse files Loading branch information weirddan455 committed Oct 15, 2023 Verified 1 parent 9ad2d83 commit 3da478c Showing 3 changed files with 30 additions and 8 deletions. Whitespace Ignore whitespace Split Unified include st...