mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	* Client command-line can modify arbitrary settings now * Only launcher auto-saves to settings.json
		
			
				
	
	
		
			15 lines
		
	
	
		
			270 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			270 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include "StdInc.h"
 | |
| #include <vstd/StringUtils.h>
 | |
| 
 | |
| namespace vstd
 | |
| {
 | |
| 
 | |
| 	DLL_LINKAGE std::vector<std::string> split(std::string s, std::string separators)
 | |
| 	{
 | |
| 		std::vector<std::string> result;
 | |
| 		boost::split(result, s, boost::is_any_of(separators));
 | |
| 		return result;
 | |
| 	}
 | |
| 
 | |
| }
 |