📅  最后修改于: 2022-03-11 14:48:51.481000             🧑  作者: Mango
private string ToUppercase(string input) {
var regex = new Regex(@"(?<=[A-Z])(?=[A-Z][a-z])|(?<=[^A-Z])(?=[A-Z])");
return regex.Replace(input, " ");
}