Есть код C#
IZennoTable table = project.Tables["CodeID"];
string str = project.Variables["MessTelegram"].Value;
string row;
for (int i = 0; i < table.RowCount; i++) {
row = string.Concat(table.GetRow(i));
if (row.Contains(str)) {
return table.GetCell("B", i); // вернет ячейку...