MCPcopy Create free account
hub / github.com/acl-dev/acl / rfind

Method rfind

lib_acl_cpp/src/stdlib/string.cpp:1250–1261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1248}
1249
1250char* string::rfind(const char* needle, bool case_sensitive) const
1251{
1252 if (needle == NIL || *needle == 0) {
1253 return NIL;
1254 }
1255
1256 if (case_sensitive) {
1257 return acl_vstring_rstrstr(vbf_, needle);
1258 } else {
1259 return acl_vstring_rstrcasestr(vbf_, needle);
1260 }
1261}
1262
1263string string::left(size_t n)
1264{

Callers

nothing calls this directly

Calls 2

acl_vstring_rstrstrFunction · 0.85
acl_vstring_rstrcasestrFunction · 0.85

Tested by

no test coverage detected