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?

Convert Camel Case to Readable Text

Description
This macro converts CamelCase to readable text.
Language
C#.net
Minimum Version
Created By
mme
Contributors
-
Date Created
Jun 27, 2017
Date Last Modified
Jun 27, 2017

Macro Code

using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;

public static class ClipboardFusionHelper
{
	public static string ProcessText(string name)
	{
		string input = Regex.Replace(name, "(\\B[A-Z])", " $1");
		return input[0].ToString().ToUpper() + input.Substring(1);
	}
}