大小写 至 PascalCase
免费且即时的在线工具,可将普通文本、字符串或变量转换为 PascalCase。
输入文本
pascal-case 结果
100% 安全
快速转换
高精准度
免费在线 PascalCase 转换器
我们的字符串格式化工具可瞬间将您的普通文本、句子或代码变量转换为 PascalCase。只需粘贴您的内容,工具即可自动处理空格和大小写。
如何转换
1. 粘贴 大小写 文本
将您的 大小写 内容粘贴或输入到输入框中。
2. 转换过程
我们的工具会自动以最佳设置将您的文本转换为 PascalCase 格式。
3. 复制 PascalCase
转换完成。您现在可以直接将结果复制到剪贴板。
常见问题解答
转换规格
| 输入 | 大小写 |
| 输出 | PascalCase |
| 安全性 | HTTPS / 自动删除 |
| 价格 | 免费 |
使用代码
pascalCase
Converts a given string to PascalCase by splitting it into words (handling spaces, underscores, and camelCase/UPPERCASE boundaries), capitalizing the first letter of each word, lowercasing the rest, and joining them together without any separator.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| text | string | The string. |
返回值
stringThe pascal cased string.