korper
Mechanical
- Oct 11, 2001
- 15
Hi, group,
I want to find a string in a TXT file and return the content after it. It may go like this (i suppose)
OPEN (123, FILE="my_FILE.txt",...)
FIND "searching words is:"
GET WORDS after it and store as MY_var
Any hints are appreciated and thanks!
I am a newbie of fortran, where can i find more discription about FILE operation & string<=>nummer operation in FORTRAN with examples?
I am using intel fortran 8.1 of Linux
I want to find a string in a TXT file and return the content after it. It may go like this (i suppose)
OPEN (123, FILE="my_FILE.txt",...)
FIND "searching words is:"
GET WORDS after it and store as MY_var
Any hints are appreciated and thanks!
I am a newbie of fortran, where can i find more discription about FILE operation & string<=>nummer operation in FORTRAN with examples?
I am using intel fortran 8.1 of Linux