Reading and Replacing Values fromtext files

Hello, i have a text file , the file have some texts containing some values. like :-

i want to read only values in a variable for exaple, i want to read owner in a variable owneroftxt and if i fmt.Println(owneroftxt) then it will print self.
like that i want to read value of one data in a variable. and then i want to replace those values with my own values like i want to set owner=me and then if i print the owner then it will print me

any idea ? i thought a lot but didn’t find any idea

You already asked this question:

How to read a line from a file and replace it?

please check it

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.