📜  用大写的javascript代码示例分割字符串

📅  最后修改于: 2022-03-11 15:04:07.179000             🧑  作者: Mango

代码示例1
"IamMamad".split(/(?=[A-Z])/).join(' ');
//result 'Iam Mamad'