common.h

Required libraries


#include <string>
#include <vector>

API Description


  • strsplit
/*
* namespace : std
* description : string is split by delimit words
* parameter :
* |- getStr@String : "string prepared for being split"
* |- delimit@String : "split char in the string"
* return : vector<string>
* example : 
* vector<string> getVect = strsplit("string name, name2(string), name3(c-string);","(;");
*/
vector<string> strsplit(string getStr, string delimit);

results matching ""

    No results matching ""