Hi
Is there a way to count how many rows there is in a text file?
Best regards and thanks.
count rows in a text file.
-
- Posts: 3
- Joined: Fri Jan 15, 2010 12:42 am
- Location: Sweden
count rows in a text file.
You have to use Text Loop action.
Algorithm is simple:
set variable LineCount to 0
text loop
inctement variable LineCount by 1
end loop
after the loop you get the number of lines of the text. If you get 0, this means that text is empty.
Algorithm is simple:
set variable LineCount to 0
text loop
inctement variable LineCount by 1
end loop
after the loop you get the number of lines of the text. If you get 0, this means that text is empty.
count rows in a text file.
Thanks for answer, it works perfect.