例:有如下格式的文本文件:"Board Serial Number","AZLH44100415"
"Total Pins Inspected by 5F",8019
"Total Defective Pins",6
"Repaired Pins",3
"Not Repaired Pins",0
"Not Repaired Defects",3
"False Called Defects",6
"Total Number of Defects",9"Layer","Component","Pin","Status","Comment","Defect","JointType","Subtype","XLoc","YLoc"1,"C9",1,"F","","PCap Open (Pin 1)","PCAP",1,8525,2802
1,"C11",1,"F","","SHORT","GULLWING",16,8544,4180
1,"C11",2,"R","","SHORT","GULLWING",16,8346,4180
1,"C12",1,"F","","SHORT","GULLWING",16,8544,3725
1,"C33",1,"F","","Open","GULLWING",16,6063,9749
2,"C119",2,"R","","EXCESS SOLDER","PCAP",6,8635,6324
2,"C588",1,"R","","OPEN","RES",3,4825,4612
2,"C588",2,"F","","OPEN","RES",3,4825,4642
2,"CR18",1,"F","","OPEN","GULLWING",39,1690,7203现要把:"Layer","Component","Pin","Status","Comment","Defect","JointType","Subtype","XLoc","YLoc"以下
的只要有:"R"这个字符的字符串都取出来。如:(1,"C11",2,"R","","SHORT","GULLWING",16,8346,4180),
(2,"C119",2,"R","","EXCESS SOLDER","PCAP",6,8635,6324),(2,"C588",1,"R","","OPEN","RES",3,4825,4612)而有多少个"R"是由第四行:"Repaired Pins"的后面的数字决定的。象"Repaired Pins"后面的数字是3,那么在
"Layer","Component","Pin","Status","Comment","Defect","JointType","Subtype","XLoc","YLoc"以下的所有字符
串中就有3个包含"R"的字符。