I'm reading a text file-line by line, I assign values to certain variables.
I want to read a variable in a line after a colon i.e. (: ) Example- if the first line in text file is:
Number of node points:1000
So, 1000 should be assigned to a variable number_nodes but 1000 should be read after the colan(: )
Can anyone advide how to do this?
Thanks, Christy