This might help you Use the String.Split method to split the string on the original string. if you need to remove the Quotation marks as well you could either loop through the resulting array and getting the substrings without the quotation marks
How to Turn a Randomized String Array 'word' into an array made up of the string's Characters C#?
I wish this help you A couple of points here (first of all, you are off to a great start): You are needlessly re-reading your file to get the line count. You can use myWordArrays.Length to set your lineCount variable Regarding your question about closing the file, per MSDN File.ReadAllLines() closes the file after it is done reading it, so you are fine there with what you already have.
foreach (char letter in myWordArrays[activeWord])
// provide a blanked-out letter for each char
hop of those help? I don't know which version of elasticsearch you're using, but here is a solution based on pipelines, introduced with ingest nodes in ES v5.0. 1) A script processor is used to extract the values from each subobject and set it in another field (here, sports) 2) The previous sport field is removed with a remove processor