09-15-2006 02:25 AM
Plz do help.
Regards,
santosh
09-15-2006 02:40 AM
09-15-2006 02:59 AM - edited 09-15-2006 02:59 AM
Message Edited by daveTW on 09-15-2006 09:59 AM
09-15-2006 03:32 AM
hi david,
i think the following attachemnt will be sufficient:
i have to calculate the number of '$' in the file, excluding those which are preceded by ';' in the same line
09-15-2006 03:36 AM
Thanks Santosh
You should try coding up Dave's suggested solution and let Dave know that it works for you and provide him with lots of stars
cheers
David
09-15-2006 03:45 AM
hi dave,
Thanks for ur reply,
the code which u gave works perfectly at all the conditions given in the problem,
except that when this semi-colon ';' comes in the middle of the line,
then we have to skip the data following it (semi-colon) in the line and count the number of occurences of '$' precedding ';' ,
i think here we face a problem.
Plz do reply.
Regards,
santosh.
09-15-2006 04:24 AM - edited 09-15-2006 04:24 AM
Message Edited by David Crawford on 09-15-2006 10:24 AM
09-15-2006 04:55 AM - edited 09-15-2006 04:55 AM
Message Edited by daveTW on 09-15-2006 11:56 AM
09-15-2006 05:38 AM
hi dave,
could u provide the sample example that is compatible with version 7.0,
i could not able to open the code which u sent earlier.
Regards,
santosh
09-15-2006 06:23 AM