public static string ContainsSelector(string text) { return string.Format(":contains('{0}'):last", text); }