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?

Confirm

Are you sure?

Comma Delimit by Lines

Description
This Macro replaces all line breaks with commas.
Language
C#.net
Minimum Version
Created By
wooster11
Contributors
-
Date Created
Aug 19, 2014
Date Last Modified
Aug 19, 2014

Macro Code

using System;

public static class ClipboardFusionHelper
{
    public static string ProcessText(string text)
    {
        return text.Replace("\n", ", ").Replace("\r", "").Trim(new char[] { ',', ' ' });
    }
}