✅ Getting a string value from a set of strings stored in a text file
I have a text file which has strings written in this following pattern:
With data its as follows. imaginary names:
These strings are all in each line and I want to get the Name, Age, DOB, and Designation strings as separate strings so that I can use them as variables in my program to parse.
How do I go about in doing this ?
With data its as follows. imaginary names:
These strings are all in each line and I want to get the Name, Age, DOB, and Designation strings as separate strings so that I can use them as variables in my program to parse.
How do I go about in doing this ?