Q:

how to split a string array after a fixed length

I have listbox  userOptions  of object type giving me  a result as 
{ Number = 1, FName = "ABC", LName = "D" }    
{ Number = 2, FName = "EFG", LName = "E" }    
{ Number = 3, FName = "HIJ", LName = "F" }    
{ Number = 4, FName = "ABC", LName = "G" }

and need to store in a string array just the FName information like
string[] data  = new string[3];
string data[0]=ABC
string data[1]=EFG
string data[2]=HIJ

Also  to remove the duplicate data from FName too;
I tried with the following code ,but it is time consuming as i cant split the string array data  from FName = "ABC" to just 'ABC'
for (int i = 0; i < userOptions.Count; i++)
{
    foreach (object items in userOptions)
    {
        devicedata = userOptions[i].ToString();
        string[] Arr = devicedata .Split(',');
        devdata[i] = Arr[1];                            
    }
}

here devicedata  gives me  this information    { Number = 1, FName = "ABC", LName = "D" }
Arr splits the data as FName = "ABC"   and stores in  devdata[i]
how can i merge my above two code so that i can directly get the distinct data like 
string data[0]=  ABC
string data[1]= EFG
string data[2]= HIJ 

A:

If you are really getting JSON (which is weird) you could also just use a regular expression for a fairly simple solution.
Ungreedy:
   FName = "(.*)"

Example:
https://regex101.com/r/pCwz3r/1

