split string oleh huruf besar javascript
"IamMamad".split(/(?=[A-Z])/).join(' ');
//result 'Iam Mamad'
Mamad
"IamMamad".split(/(?=[A-Z])/).join(' ');
//result 'Iam Mamad'