%ucase() Function

Top  Previous  Next

%ucase() function converts all the characters in the given string to uppercase and returns the result.

Syntax:

%ucase(string[, language-code])
 

string

The string whose characters to be converted to uppercase

language-code

The language code to consider the national characters when converting them to uppercase. If it is omitted the language-code of the current page is used.

 

Examples:

%ucase('sakin')       %// Result: SAKIN

%ucase('sakin','tr')  %// Result: SAKİN

 

See %lcase()