Haven't tested this, but it should work.
---
var oldName = "firstname.lastname";
var arrNameParts = oldName.split(".");
var newName = "";
if (arrNameParts.length == 2)
{
newName = arrNameParts[1] + ", " + arrNameParts[0];
}
---
S.Y.M. Wong-A-Ton
> Hello,
>
[quoted text clipped - 10 lines]
> Can anyone provide me with a quick chunk of JScript code that can easily
> take care of this for me?
Colin - 30 Jan 2006 17:03 GMT
it worked great, thank you very much
> Haven't tested this, but it should work.
>
[quoted text clipped - 24 lines]
> > Can anyone provide me with a quick chunk of JScript code that can easily
> > take care of this for me?