Internet Direct (Indy) Version 9.0.2 Beta
StrToCard
This function converts a string value into a cardinal..

function StrToCard(AVal: String): Cardinal;
Parameters
AVal: String
the string containing a numerical value.

Returns
Cardinal - The value the string was converted to.

Description
This function converts a string value into a cardinal (a 32-bit unsigned value) after stripping off spaces and other control characters.