MCPcopy Create free account
hub / github.com/beefytech/Beef / Substring

Method Substring

BeefySysLib/util/String.cpp:532–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530}
531
532String StringImpl::Substring(intptr startIdx) const
533{
534 BF_ASSERT((uintptr)startIdx <= (uintptr)mLength);
535 return String(GetPtr() + startIdx, mLength - startIdx);
536}
537
538String StringImpl::Substring(intptr startIdx, intptr length) const
539{

Callers 15

ParseHotKeyMethod · 0.80
TrimMethod · 0.80
OutputDebugStrMethod · 0.80
GetFileDirMethod · 0.80
GetFileNameMethod · 0.80
GetFileExtensionMethod · 0.80
GetAbsPathMethod · 0.80
FixPathMethod · 0.80
RemoveTrailingSlashMethod · 0.80
ParseMemorySpanMethod · 0.80

Calls 1

StringClass · 0.85

Tested by 2

TestReadCmdFunction · 0.64
Test_QueryMethod · 0.64