Question
#1

Does anyone know if it is possible to convert a string or message into all capital letters? And before you ask, for what I'm trying to do, I cannot turn on capslock and manually type it all out.
Reply
#2

PHP код:
toupper(letter); 
EDIT: to capitalize whole string

PHP код:
Capital(string)
{
    for(new 
ilen strlen(string); leni++)
    {
        
string[i] = toupper(string[i]);
    }
    return 
string;

Reply
#3

Quote:
Originally Posted by Shinja
Посмотреть сообщение
PHP код:
toupper(letter); 
EDIT: to capitalize whole string

PHP код:
Capital(string)
{
    for(new 
ilen strlen(string); leni++)
    {
        
string[i] = toupper(string[i]);
    }
    return 
string;

Thank you very much.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)