MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / GetValueFromString

Function GetValueFromString

sourcecommon/utils.cpp:1316–1324  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1314}
1315//---------------------------------------------------------------------------
1316AnsiString __fastcall GetValueFromString(AnsiString s)
1317{
1318 int i = s.Pos('=');
1319 if( i > 0 )
1320 {
1321 return s.SubString(i+1, s.Length()-i);
1322 }
1323 return "";
1324}
1325//---------------------------------------------------------------------------
1326bool GetFileVersion(AnsiString File, WORD & Major, WORD & Minor, WORD & Release, WORD & Build)
1327{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected