Changeset 6400 for code/branches/presentation2/src/libraries/util
- Timestamp:
- Dec 22, 2009, 10:05:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/util/StringUtils.cc
r6394 r6400 54 54 { 55 55 size_t pos; 56 while ((pos = (*str).find(' ')) < (*str).length())57 (*str).erase(pos, 1);58 while ((pos = (*str).find('\t')) < (*str).length())59 (*str).erase(pos, 1);60 while ((pos = (*str).find('\n')) < (*str).length())61 (*str).erase(pos, 1);56 while ((pos = str->find(' ')) < str->length()) 57 str->erase(pos, 1); 58 while ((pos = str->find('\t')) < str->length()) 59 str->erase(pos, 1); 60 while ((pos = str->find('\n')) < str->length()) 61 str->erase(pos, 1); 62 62 } 63 63
Note: See TracChangeset
for help on using the changeset viewer.