summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Functions/Main.cs')
-rw-r--r--win/C#/Functions/Main.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/win/C#/Functions/Main.cs b/win/C#/Functions/Main.cs
index ff183178f..02f6c80f1 100644
--- a/win/C#/Functions/Main.cs
+++ b/win/C#/Functions/Main.cs
@@ -745,6 +745,15 @@ namespace Handbrake.Functions
return drives;
}
+ /// <summary>
+ /// Change a string to Title Case/
+ /// </summary>
+ /// <param name="input">
+ /// The input.
+ /// </param>
+ /// <returns>
+ /// A string in title case.
+ /// </returns>
public static string TitleCase(string input)
{
string[] tokens = input.Split(' ');
@@ -758,7 +767,5 @@ namespace Handbrake.Functions
return sb.ToString().Trim();
}
-
-
}
} \ No newline at end of file