(file) Return to strutil.cpp CVS log (file) (dir) Up to [OMI] / omi / ut

Diff for /omi/ut/strutil.cpp between version 1.2 and 1.3

version 1.2, 2015/04/20 18:10:35 version 1.3, 2015/04/20 18:20:37
Line 42 
Line 42 
     return res;     return res;
 } }
  
 void StringToArray(const MI_Char* str, std::vector<String>& res, MI_Char delim /*= ','*/)  void StringToArray(const ZChar* str, std::vector<String>& res, ZChar delim /*= ','*/)
 { {
     String line = str;     String line = str;
     String::size_type pos = line.find( delim );     String::size_type pos = line.find( delim );
Line 67 
Line 67 
         res += ar[i];         res += ar[i];
  
         if ((i+1) < ar.size())         if ((i+1) < ar.size())
             res += T(",");              res += ZT(",");
     }     }
  
     return res;     return res;


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

ViewCVS 0.9.2