Testing Text Tabular File

In a text tabular file, how would you check that the second column contains only even numbers?

Questions by app79

Showing Answers 1 - 3 of 3 Answers

goksn

  • Aug 13th, 2009
 

This can be achieved by using any one of the following scripting language like

Java script
VB Script
Perl

etc.

A generalized algorithm can be,

-Open file
-Set the delimeter as tab
-Take the second column using the delimeter
-Check the value

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions