参考处理代码:
以下内容为程序代码:
1 Dim dt As DataTable = DataTables("表A")
2 For Each dr As DataRow In dt.DataRows
3 If dr("第二列").StartsWith("C") Then '大写字母开头
4 dr("第二列") = dr("第二列").insert(0, "D").remove(1, 1) '插入大写D,去掉大写C
5 End If
6 Next

此主题相关图片如下:替换分隔数列2022-05-31_055349.jpg

[此贴子已经被作者于2022/5/31 5:57:16编辑过]