Re: Find character among the digits values
Posted by webmaster Guido on March 25, 19103 at 02:05:09:
In Reply to: Find character among the digits values posted by sam sgling07 on March 23, 19103 at 21:58:11:
: Can someone help me to find the answer.
You can use the Delphi procedure VAL to write a function that returns TRUE or FALSE depending on the fact if a string S contains only numerical characters or not, in other words: if it holds a valid integer number:
Function ValidIntegerString(S: string): Boolean;
You can look up VAL in the Delphi help to find out exactly what it does.