Hi,
I need help, to convert a string of Firstname and Lastname to uppercase(only First character of both).
I tried as below but fail....so plz
var nam = String(dataFld);
var length = nam.length;
var nam1 = nam.charAt(0).toUpperCase();
var i=1;
do
{
if(nam[i]==" ")
nam1 += nam[i+1].toUpperCase();
else
nam1 += nam[i];
i++;
}while(i<length);