コード例 #1
0
        private void handler_method(object sender, EventArgs e)
        {
            string        csv    = ClipboardHelpers.GetTextFromClipboard();
            List <string> fields = csv.Split(',').ToList();

            fields.Insert(2, "newDataHere");

            ClipboardHelpers.SetTextForClipboard(string.Join(",", fields));
        }