Skip to content

toupper()

Functionality

Returns a copy of this string converted to uppercase.

Syntax

How does it work?

The toupper() function will return the uppercase equivalent of the current string

if the value does not exist or null, it will return default null.

Example

coffeeshop(base class) language properties

TypeNameValue
strnamesample coffeeshop
strdescriptionBest place to get your mood Fresh & Connect

source

1
2
3
<div>
    <span></span>
</div>

output

1
2
3
<div>
    <span>BEST PLACE TO GET YOUR MOOD FRESH & CONNECT</span>
s</div>