Opened 19 years ago
Closed 15 years ago
#224 closed Feature Requests (fixed)
Extensions to std::string: compareIgnoreCase(), trim(), ...
Reported by: | Owned by: | az_sw_dude | |
---|---|---|---|
Milestone: | Component: | string_algo | |
Version: | None | Severity: | Problem |
Keywords: | Cc: |
Description (last modified by )
Extensions to std::string like a member function compareCaseIgnore(...) and [l|r]trim(const char * whitespace = " \t\r\n") would be very nice and so I haven't to use stricmp( str1.c_str(), str2.c_str() ) any more! PS: boost is great!
Change History (4)
comment:1 by , 15 years ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
Reporter: | changed from | to
Severity: | → Showstopper |
Status: | assigned → new |
comment:2 by , 15 years ago
Component: | None → string_algo |
---|
comment:3 by , 15 years ago
Severity: | Showstopper → Problem |
---|
comment:4 by , 15 years ago
Resolution: | None → fixed |
---|---|
Status: | new → closed |
The requested functions are already available in the string_algorithms library.
Check out the file <boost/algorithm/string/trim.hpp>. (or the umbrella <boost/algorithm/string.hpp>
Note:
See TracTickets
for help on using tickets.
reassigning to Jeff because I know he has built something like this, but it should probably be closed as it is really a library suggestion, not a feature request.