The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-18-2007
knowledge_gain knowledge_gain is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 6
check the given string is numeric or not.

Hi,

how to check the given string is numeric or not , without converting ( using strtol...).

for ex: if string is C01 - non-numeric data
if string is 001 - numeric data

TIA