$toupper

$toupper

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

$toupper

Converts alphabetic characters to upper case.

Syntax

$toupper(source)

Parameters

sourceany value, or an expression that yields any value

Return Value

Character string, in which all letters are uppercase.

Comments

$toupper returns a character string in which all letters are upper case. If source is not of a character data type, it is converted to a character data type before the function is applied.

Example

$toupper("the QUICK BROWN fox is 30 years oLD")

Evaluates to “THE QUICK BROWN FOX IS 30 YEARS OLD”.

See Also

$tolower

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese