ROOT
master
Reference Guide
StringUtils.hxx
Go to the documentation of this file.
1
/// \file ROOT/StringUtils.hxx
2
/// \ingroup Base StdExt
3
/// \author Jonas Rembser <jonas.rembser@cern.ch>
4
/// \date 2021-08-09
5
6
/*************************************************************************
7
* Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
8
* All rights reserved. *
9
* *
10
* For the licensing terms see $ROOTSYS/LICENSE. *
11
* For the list of contributors see $ROOTSYS/README/CREDITS. *
12
*************************************************************************/
13
14
#ifndef ROOT_StringUtils
15
#define ROOT_StringUtils
16
17
#include "
ROOT/RStringView.hxx
"
18
19
#include <string>
20
#include <vector>
21
22
namespace
ROOT
{
23
24
std::vector<std::string>
Split
(
std::string_view
str,
std::string_view
delims,
bool
skipEmpty =
false
);
25
26
}
// namespace ROOT
27
28
#endif
RStringView.hxx
string_view
basic_string_view< char > string_view
Definition:
libcpp_string_view.h:786
ROOT
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
Definition:
EExecutionPolicy.hxx:4
ROOT::Split
std::vector< std::string > Split(std::string_view str, std::string_view delims, bool skipEmpty=false)
Splits a string at each character in delims.
Definition:
StringUtils.cxx:23
core
foundation
inc
ROOT
StringUtils.hxx
ROOT master - Reference Guide Generated on Tue Feb 7 2023 10:14:42 (GVA Time) using Doxygen 1.9.5