Mercurial > repos > aaronquinlan > multi_intersect
diff BEDTools-Version-2.14.3/src/utils/Fasta/split.h @ 1:bec36315bd12 default tip
Deleted selected files
author | aaronquinlan |
---|---|
date | Sat, 19 Nov 2011 14:17:03 -0500 |
parents | dfcd8b6c1bda |
children |
line wrap: on
line diff
--- a/BEDTools-Version-2.14.3/src/utils/Fasta/split.h Thu Nov 03 10:25:04 2011 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -#ifndef __SPLIT_H -#define __SPLIT_H - -// functions to split a string by a specific delimiter -#include <string> -#include <vector> -#include <sstream> -#include <string.h> - -// thanks to Evan Teran, http://stackoverflow.com/questions/236129/how-to-split-a-string/236803#236803 - -// split a string on a single delimiter character (delim) -std::vector<std::string>& split(const std::string &s, char delim, std::vector<std::string> &elems); -std::vector<std::string> split(const std::string &s, char delim); - -// split a string on any character found in the string of delimiters (delims) -std::vector<std::string>& split(const std::string &s, const std::string& delims, std::vector<std::string> &elems); -std::vector<std::string> split(const std::string &s, const std::string& delims); - -#endif