MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / substr

Method substr

src/common/classes/fb_string.h:771–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769 }
770
771 StringType substr(size_type pos = 0, size_type n = npos) const
772 {
773 adjustRange(length(), pos, n);
774 return StringType(&c_str()[pos], n);
775 }
776 int compare(const StringType& str) const
777 {
778 return compare(str.c_str(), str.length());

Callers 15

INET_connectFunction · 0.45
start_and_watch_serverFunction · 0.45
NBackupMethod · 0.45
expandPatternMethod · 0.45
writeMethod · 0.45
str2ArrayMethod · 0.45
writeLineMethod · 0.45
svc_query_exFunction · 0.45
setInitialOptionsMethod · 0.45
planSetMethod · 0.45
initializeMethod · 0.45
parseExternalValueFunction · 0.45

Calls 1

lengthFunction · 0.50

Tested by 1

testFunction · 0.36