| 1081 | } |
| 1082 | |
| 1083 | int string::rncompare(const char* s, size_t len, bool case_sensitive/* =true */) const |
| 1084 | { |
| 1085 | if (s == NIL) { |
| 1086 | return 1; |
| 1087 | } |
| 1088 | |
| 1089 | if (case_sensitive) { |
| 1090 | return acl_strrncmp(STR(vbf_), s, len); |
| 1091 | } else { |
| 1092 | return acl_strrncasecmp(STR(vbf_), s, len); |
| 1093 | } |
| 1094 | } |
| 1095 | |
| 1096 | bool string::end_with(const char* s, bool case_sensitive /* = true */) const |
| 1097 | { |
no test coverage detected