Changeset 973 for cpp/frams/util/sstringutils.h
- Timestamp:
- 07/03/20 00:37:13 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/util/sstringutils.h
r929 r973 40 40 int i, next = 0; 41 41 bool first = true; 42 if (!separator.len ()) { result.push_back(text); return; }42 if (!separator.length()) { result.push_back(text); return; } 43 43 while (1) 44 44 { … … 46 46 if (i < 0) 47 47 { 48 if ((next <= text.len ()) || first)48 if ((next <= text.length()) || first) 49 49 result.push_back(text.substr(next)); 50 50 return; … … 55 55 first = false; 56 56 } 57 next = i + separator.len ();57 next = i + separator.length(); 58 58 } 59 59 }
Note: See TracChangeset
for help on using the changeset viewer.