I have a problem when i want to seprate a single string into two different string.
Like-
I have a Div
VipinTyagi
and I want that when a jquery applied to this div it show the result as
Vipin Tyagi
Means when a Capital letter comes in the string it automatically split in two or more parts ,depends how many capital letters come into that string......

Manoj BhoirPosted Jun 3, 2015, 7:34 AM
var replaced = token.split(/(?=[A-Z])/);
alert(replaced);
Manoj BhoirPosted Jun 3, 2015, 12:02 PM
Vipin TyagiPosted Jun 3, 2015, 8:14 AM