select A.行政村编号 , B.行政村编号
from A,B
where charindex('、'+ A.行政村编号+'、','、'+ B.行政村编号+'、')>0  //这是字符串匹配方法我怎样才能用c语言来描述同样的操作呢?