- wxString fncargs = fncname;
-
- size_t n = fncname.find(wxT('('));
- if (n != wxString::npos)
- {
- // remove arguments from function name
- fncname.erase(n);
-
- // remove function name and brackets from arguments
- fncargs = fncargs.substr(n+1, fncargs.length()-n-2);
- }
- else
- fncargs = wxEmptyString;