mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-17 23:54:26 +01:00
Improve everything
This commit is contained in:
@@ -3,11 +3,14 @@ using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using Newtonsoft.Json;
|
||||
using WalletWasabi.Blockchain.TransactionOutputs;
|
||||
|
||||
namespace BTCPayServer.Plugins.Wabisabi;
|
||||
|
||||
public static class Extensions
|
||||
{
|
||||
|
||||
public static string ToSentenceCase(this string str)
|
||||
{
|
||||
return Regex.Replace(str, "[a-z][A-Z]", m => m.Value[0] + " " + char.ToLower(m.Value[1]));
|
||||
|
||||
Reference in New Issue
Block a user