Back to Richel Bilderbeek's homepage.
Back to Richel Bilderbeek's Code Snippets.
WideIsInt
Checks if a WideString can be converted to an integer.
* View the code of 'WideIsInt' in plain text.
//From http://www.richelbilderbeek.nl/CppWideIsInt.htm
bool WideIsInt(const WideString& s, int& rInt)
{
const AnsiString a(s);
return TryStrToInt(a, rInt);
}
Back to Richel Bilderbeek's Code Snippets.
Back to Richel Bilderbeek's homepage.