Changeset 3572 in Sophya for trunk/SophyaLib/SUtils/strutilxx.cc
- Timestamp:
- Feb 7, 2009, 10:50:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SUtils/strutilxx.cc
r2706 r3572 13 13 // considering char "sep" as a separator. 14 14 // Vector is filled from its end (no reset done). 15 // T pwrite a "sep" char, use \'sep'15 // To write a "sep" char, use \'sep' 16 16 // Warning: separator "sep" could not be set to '\' 17 17 // Ex: sep=' ': s="aaa bbb cc d " -> vs=(aaa,bbb,cc,d) … … 55 55 // - Fill "vs" at the end: NO RESET IS DONE 56 56 // - If ',' is the separator, ",,," is c 57 // That routine is much more rapid than FillVStringFrString alt ouch less general57 // That routine is much more rapid than FillVStringFrString although less general 58 58 // (ex no '\' gestion is done) 59 59 { 60 60 uint_4 ls = s.size(); 61 61 if(ls<=0) return; 62 bool sep_non_blanc = (separator==' ')? false: true;62 //bool sep_non_blanc = (separator==' ')? false: true; 63 63 char *str = new char[ls+2]; 64 64
Note:
See TracChangeset
for help on using the changeset viewer.