I have the following line in an seperate output file:
CR-EOMCC(2,3),A E= -452.5031405006
Now i want to read the CR-EOMCC(2,3),A part as a whole character string, but when i do so normally it only reads the "CR-EOMCC(2" and stops at the comma. I want it to read past the first two commas but stop at the first space. I don't want to specify a specific length of the character string because it sometimes changes in length, so i want it to be kinda general when reading.
My question is really how do i specify how many commas or spaces to ignore when reading. Also, I am doing this all in fortran 77.
Thank you
CR-EOMCC(2,3),A E= -452.5031405006
Now i want to read the CR-EOMCC(2,3),A part as a whole character string, but when i do so normally it only reads the "CR-EOMCC(2" and stops at the comma. I want it to read past the first two commas but stop at the first space. I don't want to specify a specific length of the character string because it sometimes changes in length, so i want it to be kinda general when reading.
My question is really how do i specify how many commas or spaces to ignore when reading. Also, I am doing this all in fortran 77.
Thank you