mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 23:11:10 +00:00
Implements directory browser dialog, part 1: file system treeview
This commit is contained in:
1 parent
4a53348013
commit
4e4ecbbfca
318 files changed
+6012
-1184
No files matched your search
@@ -0,0 +1,23 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Text.RegularExpressions;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Utilities;
|
||||
|
||||
/// <summary>
|
||||
/// Extension methods for strings.
|
||||
/// </summary>
|
||||
public static class StringUtilities
|
||||
{
|
||||
#region ================================================================== METHODS ===================================================================================
|
||||
/// <summary>
|
||||
/// Splits a camel case string into separate words.
|
||||
/// </summary>
|
||||
/// <param name="input">The string to be split.</param>
|
||||
/// <returns>The split string.</returns>
|
||||
public static string SplitCamelCase(this string input)
|
||||
{
|
||||
return Regex.Replace(input, "([A-Z])", " $1", RegexOptions.Compiled).Trim();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
Reference in new issue
Block a user