use the is_num() function, you need to loop to the array  [messy]

Camilo III Lozano <[EMAIL PROTECTED]> wrote: how can i rip off in C the non 
integer charaters?
  
 ===============================
  
 int main()
 {
    char *messy = ":428:";
     int cleaned = 0;
  
    //some removing syntax for the non integer chars
  
  
   cleaned = (int)(messy);
   return 0;
 }
  
 ===============================

 anybody can help? thanks...
 
-- 
--------------------
http://www.metacatalyst.com
http://www.metacatalyst.org
http://www.zabyer.org 

Got my Own Hacker Key:
v3sw3BHhw5ln2pr5OFPck3ma2u4MLw5XVm+5l5UCi5Ne4t3b5en5g5RaIs5MSr3p2
http://www.hackerkey.com

Registered Linux User: #439468 
 _________________________________________________
Kagay-Anon Linux Users' Group (KLUG) Mailing List
[email protected] (http://cdo.linux.org.ph)
Searchable Archives: http://archives.free.net.ph


Kolosos, COE
Philippines
Linux Registered User # 373129
       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
_________________________________________________
Kagay-Anon Linux Users' Group (KLUG) Mailing List
[email protected] (http://cdo.linux.org.ph)
Searchable Archives: http://archives.free.net.ph

Reply via email to