Hello everyone, this is the thing: (Before anything I have to say that I trying to make the program in fortran 90) I have a text to read, and in that text i have to know how many characters are in every single line. I make it to count how many lines are in the text with this code: n=0 do read(unit=111,fmt="(1a)",iostat=s) line if (s<0) then exit endif n=n+1 enddo But I have no similar idea to count the characters within a line! I tried to search for it, but no result. Thank you for your help!!