Hi,
     This might just be a little too trivial.
I was just wondering if someone could give me a condition where I can traverse 
across a complete string and perform operation until I encounter End of Line.
This is what I tried:
if($string != \n)
{
    do operations;
}
But this does not seem to be working.
I also tried if($string != null)
{
    do operations;
}
This does not seem to be working either.
Can someone help me out?

Thanks,
Vijay





      ___________________________________________________________
Support the World Aids Awareness campaign this month with Yahoo! For Good 
http://uk.promotions.yahoo.com/forgood/

Reply via email to