zizi21
asked on
Remove line when read file
hi,
i am reading a file and the file has empty lines or lots of spaces....
i have tokenize the line and am using isalnum to remove any special character..
how do i do say that if you come across line or space, just ignore it..i think, that is the problemm...
could anyone pls help
i am reading a file and the file has empty lines or lots of spaces....
i have tokenize the line and am using isalnum to remove any special character..
how do i do say that if you come across line or space, just ignore it..i think, that is the problemm...
could anyone pls help
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
thank you very much...
ASKER
i think, i did something wrong..let me try that..
http://linux.die.net/man/3/isspace