Check if one string starts with another
| 489 | |
| 490 | /// Check if one string starts with another |
| 491 | bool dStrStartsWith(const char* str1, const char* str2) |
| 492 | { |
| 493 | return !dStrnicmp(str1, str2, dStrlen(str2)); |
| 494 | } |
| 495 | |
| 496 | /// Check if one string ends with another |
| 497 | bool dStrEndsWith(const char* str1, const char* str2) |
no test coverage detected