Changeset 913 for cpp/common/util-string.cpp
- Timestamp:
- 04/20/20 23:27:35 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/util-string.cpp
r897 r913 77 77 } 78 78 79 bool str_starts_with(const char *str, const char *prefix) 80 { 81 return strncmp(str,prefix,strlen(prefix))==0; 82 } 83 79 84 char* strmove(char *a, char *b) //strcpy that works well for overlapping strings ("Source and destination overlap") 80 85 {
Note: See TracChangeset
for help on using the changeset viewer.