ducktorrent/src/split.hpp
2025-04-02 21:14:56 +01:00

28 lines
1 KiB
C++

/* Copyright 2015, 2016, Michele Santullo
* This file is part of "dindexer".
*
* "dindexer" is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* "dindexer" is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with "dindexer". If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef id913CE9D2F60745349F39F2C82455973E
#define id913CE9D2F60745349F39F2C82455973E
#include <vector>
#include <string_view>
namespace dincore {
std::vector<std::string_view> split ( std::string_view parList, char parSeparator, bool parTrim, bool parDeleteEmpty );
} //namespace dincore
#endif