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

Function StringStartWith

sourcecommon/utils.cpp:1948–1958  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1946}
1947//---------------------------------------------------------------------------
1948bool StringStartWith(String Str, String StartStr)
1949{
1950 int l = StartStr.Length();
1951 int l1 = Str.Length();
1952 if( l1 < l )
1953 return false;
1954 for(int i=1; i<=l; i++)
1955 if( Str[i] != StartStr[i] )
1956 return false;
1957 return true;
1958}
1959//---------------------------------------------------------------------------
1960String GetTemporaryFileName(void)
1961{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected