Content


NTL
Core
TryStringToInt

TryStringToInt


Try to convert string to int.

You can find more information in comments below.

/**
Try convert string to int 
@param str Wide character string 
@param[out] out Reference to integer where to store result of conversion 
@return True if conversion succeeded, otherwise - false 
*/
bool TryStringToInt(const String &str, int &out);
/**
Try convert ansi string to int 
@param str Ansi string 
@param[out] out Reference to integer where to store result of conversion 
@return True if conversion succeeded, otherwise - false 
*/
bool TryStringToInt(const AnsiString &str, int &out);
Namespace: nitisa
Include: Nitisa/Core/Strings.h