I was wondering how I would go about searching for a string in a text file and then turning the whole line the string is contained in into an array. To make this less wordy, I'll just give an example.
sometext0:Test:sometext123
sometext0:Test14:sometext123
sometext0:test44:sometext123
The string in this case would be "Test14" (second line). What should be done, is search for the "Test14". Once this is done, it should take the whole line into a string, and based off of this, turn the line into an array per delimiter.
Array[0] would be "sometext0", Array[1] would be "Test14", and Array[2] would be "sometext123" Thank you!