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

Method Left

utilities/include/string/tstring.h:498–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496 return dest;
497 }
498 TStringT Left(int nCount) const
499 {
500 TStringData* pData = GetData();
501 if (nCount < 0)
502 nCount = 0;
503 else if (nCount > pData->nDataLength)
504 nCount = pData->nDataLength;
505
506 TStringT dest;
507 AllocCopy(dest, nCount, 0, 0);
508 return dest;
509 }
510
511 // string utilities
512 TStringT& MakeUpper()

Callers 15

CreateWindowByNameMethod · 0.45
StrPos2ItemPosMethod · 0.45
toStringMethod · 0.45
OnAttrIDMethod · 0.45
SNamedValue.cppFile · 0.45
ParseValueMethod · 0.45
ParseResIDFunction · 0.45
OnAttrSrcMethod · 0.45
SetMaskedTextMethod · 0.45
CorrectWindowTextMethod · 0.45
OnAttrMaskMethod · 0.45
OnAttrMaskMethod · 0.45

Calls 1

GetDataFunction · 0.85

Tested by

no test coverage detected