vikke
Senior Member
Posts: 900 Reputation: 28
31 / /
Joined: May 2006
|
RE: RE: from caps to lowercase
quote: Originally posted by MenthiX
code: if(CommandIs == "Caps") {
return Message.replace(Message, Message.toUpperCase());
}
The above code transforms it to uppercase, so i assume adding the following directly below that code will give you a transform it to all lowercase:code: if(CommandIs == "Lower") {
return Message.replace(Message, Message.toLowerCase());
}
Can't you just do: code: if(CommandIs == "Caps") {
return Message.toUpperCase();
}
|
|