5 wxString strQueryCopy(strQuery);
6 strQueryCopy.Replace(_(
";"), wxT(
""));
7 return (strQueryCopy.Trim(
true).Trim(
false) == wxEmptyString);
12 wxArrayString returnArray;
13 bool bInQuote =
false;
16 for (
int i=0; i<(int)strQuery.Length(); i++ )
18 if ( strQuery.SubString(i, i) == _T(
"'") )
20 else if ( strQuery.SubString(i, i) == _T(
";") && !bInQuote )
23 str << strQuery.SubString(nLast, i);
25 returnArray.Add( str );
31 if ( nLast < (
int)strQuery.Length() -1 )
34 str << strQuery.SubString(nLast, strQuery.Length() - 1) << _T(
";");
36 returnArray.Add( str );
wxArrayString ParseQueries(const wxString &strQuery)
bool IsEmptyQuery(const wxString &strQuery)