Split the String and Remove Desired Index C#

string[] s = lblAge.Text.Split('Y', 'M', 'D');
s = s.Where(item => item != " ").ToArray();
To Compare a part of string from to data returened from method 
 
OPD.clsCommonOPD.BindSDW().AsEnumerable().FirstOrDefault(p => p["txt"].ToString() == lblSwd.Text.Substring(0, 3))["val"].ToString();