我目前正在嘗試修改SSIS項目的腳本,以從動態.txt文件(有時添加colums)導入數據。c#中的string.format語法和它做了什麼?
我新的C#和腳本唯一的問題是,它包含一個字符串形式表達,我真的不能graps所以我的問題是:
這是什麼呢?
string _Statement = String.Format ("{0}(?=(?:[^{1}]*{1}[^{1}]*{1})*(?![^{1}]*{1}))"
的參數是
{0} = First line in the file containing all the column headers
{1} = Semicolon delimiter
在任何幫助,這將非常感激。
謝謝你解釋它!我想這使問題錯誤,因爲它是正則表達式,我不明白,而不是string.format。現在我有一些工作與alteast! – user3036771