pascalabcnet/_Presentations/2015 New Features/Programs/14_FilesStr3.pas

8 lines
144 B
ObjectPascal
Raw Permalink Normal View History

2015-05-14 22:35:07 +03:00
begin
foreach var s in ReadLines('freqs.txt') do
begin
var ss := s.ToWords;
if ss[3] = 'verb' then
writeln(ss[2]);
end;
end.