I want to be able to read a file for example names.txt and for example in the text file on each line is NAME:LAST and it on each line. I want to split each so I can use NAME = {0} LAST = {1}
Example names.txt
NAME1:LAST1
NAME2:LAST2
NAME3:LAST3
NAME4:LAST4