Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

spreate by captial char in c#

private string ToUppercase(string input) {
    var regex = new Regex(@"(?<=[A-Z])(?=[A-Z][a-z])|(?<=[^A-Z])(?=[A-Z])");
    return regex.Replace(input, " ");
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #spreate #captial #char
ADD COMMENT
Topic
Name
1+1 =