private getLookForCharacter ( string textContent ) : string | ||
textContent | string | |
return | string |
private string getLookForCharacter(string textContent)
{
var lookfor = " ";
var quoteCount = textContent.Count(x => x.Equals('"'));
if (quoteCount > 0 && (quoteCount % 2) == 0)
lookfor = "\"";
return lookfor;
}