MCPcopy Create free account
hub / github.com/SOUI2/soui / Right

Method Right

utilities/include/string/tstring.h:486–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484 return dest;
485 }
486 TStringT Right(int nCount) const
487 {
488 TStringData* pData = GetData();
489 if (nCount < 0)
490 nCount = 0;
491 else if (nCount > pData->nDataLength)
492 nCount = pData->nDataLength;
493
494 TStringT dest;
495 AllocCopy(dest, nCount, pData->nDataLength - nCount, 0);
496 return dest;
497 }
498 TStringT Left(int nCount) const
499 {
500 TStringData* pData = GetData();

Callers 11

SetDllPathMethod · 0.80
SetDllPathMethod · 0.80
parseStringMethod · 0.80
CreateChildrenMethod · 0.80
ParseResIDFunction · 0.80
OnAttrSrcMethod · 0.80
OnAttrMaskMethod · 0.80
OnAttrMaskMethod · 0.80
GetFormatTextMethod · 0.80
FileExistMethod · 0.80
OpenMethod · 0.80

Calls 1

GetDataFunction · 0.85

Tested by

no test coverage detected