private string SplitCamelCaseToHumanReadable(string strCamelCase)
{
var rgx = new Regex(
@"(?<=[A-Z])(?=[A-Z][a-z])
| (?<=[^A-Z])(?=[A-Z])
| (?<=[A-Za-z])(?=[^A-Za-z])"
, RegexOptions.IgnorePatternWhitespace);
return rgx.Replace(strCamelCase, " ");
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment