#include <string_view>
#include <string>
#include <vector>
#include <numeric>
#include <iterator>
#include <utility>
|
| bool | ROOT::EndsWith (std::string_view string, std::string_view suffix) |
| |
| template<typename InputIt_t > |
| std::string | ROOT::Join (const std::string &sep, InputIt_t begin, InputIt_t end) |
| | Concatenate a list of strings with a separator.
|
| |
| template<class StringCollection_t > |
| std::string | ROOT::Join (const std::string &sep, StringCollection_t &&strings) |
| | Concatenate a list of strings with a separator.
|
| |
| std::string | ROOT::Round (double value, double error, unsigned int cutoff, std::string_view delim) |
| | Convert (round) a value and its uncertainty to string using one or two significant digits of the error.
|
| |
| std::vector< std::string > | ROOT::Split (std::string_view str, std::string_view delims, bool skipEmpty) |
| | Splits a string at each character in delims.
|
| |
| std::pair< std::string_view, std::string_view > | ROOT::SplitAt (std::string_view str, char splitter) |
| | Given a string str, returns a pair of string views into it: the first containing the substring preceding the first instance of splitter and the second containing the substring following it.
|
| |
| bool | ROOT::StartsWith (std::string_view string, std::string_view prefix) |
| |