Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Convert Commas to New Lines

Description
Converts a comma separate list, to a list with one item on each line.
Language
C#.net
Minimum Version
Created By
Keith Hall
Contributors
-
Date Created
Jul 20, 2015
Date Last Modified
Jul 20, 2015

Macro Code

using System;
using System.Text.RegularExpressions;

public static class ClipboardFusionHelper
  {
    public static string ProcessText(string text)
      {
        return new Regex(@"\s*,\s*").Replace(text, "\r\n");
      }
  }