+
+std::vector<std::string> treatRepetation(const std::string& theValue);
+
+std::vector<std::string> treatRepetation(const std::string& theValue)
+{
+ std::vector<std::string> aResult;
+ int pos = theValue.find(";*=");
+ if(pos < 0 )
+ {
+ aResult.push_back(theValue);
+ return aResult;
+ }
+ std::string val(theValue.substr(0, pos));
+ std::string suffix(theValue.substr(pos+3));
+ int nb;
+ std::istringstream tmp(suffix);
+ tmp >> nb;
+ for(int i=0; i<nb; i++)
+ aResult.push_back(val);
+ return aResult;
+}
+