mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Update StringExtensions.cs
Removed extraneous variable
This commit is contained in:
@@ -16,8 +16,7 @@ namespace Orchard.Utility.Extensions {
|
||||
var sb = new StringBuilder(camel);
|
||||
|
||||
for (int i = camel.Length-1; i>0; i--) {
|
||||
var current = sb[i];
|
||||
if(char.IsUpper(current)) {
|
||||
if(char.IsUpper(sb[i])) {
|
||||
sb.Insert(i, ' ');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user