1 // LAF Base Library 2 // Copyright (c) 2001-2016 David Capello 3 // 4 // This file is released under the terms of the MIT license. 5 // Read LICENSE.txt for more information. 6 7 #ifndef BASE_SPLIT_STRING_H_INCLUDED 8 #define BASE_SPLIT_STRING_H_INCLUDED 9 #pragma once 10 11 #include <string> 12 #include <vector> 13 14 namespace base { 15 16 void split_string(const std::string& string, 17 std::vector<std::string>& parts, 18 const std::string& separators); 19 20 } 21 22 #endif 23