matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: Capital letter & a dot
This should work :
code: function OnEvent_ChatWndSendMessage(pChatWnd, sMessage){
sMessage.replace(sMessage, sMessage.substr(0,1).toUpperCase() + sMessage.substr(1) + '.');
}
This post was edited on 06-27-2006 at 04:07 PM by matty.
|
|