UCase: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
(Created page with "UCASE(''string'') '''Description''' UCASE returns string with all of its lowercase characters converted to uppercase. The required parameter, ''string'', is any valid string...")
 
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
UCASE(''string'')
''This function is for BASIC compatibility. It is not available in pure JavaScript projects.''  


'''Description'''
UCase(''string'')


UCASE returns string with all of its lowercase characters converted to uppercase. The required parameter, ''string'', is any valid string expression.
== Description ==


'''Example'''
UCase returns string with all of its lowercase characters converted to uppercase. The required parameter, ''string'', is any valid string expression.
 
== Example (Basic) ==


<pre>
<pre>
REM UCASE Example
Rem UCase Example
'UCASE returnsstringwithalluppercasechars
'UCase returns string with all upper case chars
DIM Vet
Dim Vet
Vet = "ned"
Vet = "ned"
PRINT Vet & " uppercase is " & UCASE(Vet)
Print Vet & " uppercase is " & UCase(Vet)
</pre>
</pre>


'''Output'''
== Output ==


<pre>
<pre>
Line 21: Line 23:
</pre>
</pre>


'''Related Items'''
== Related Items ==
 
[[lcase|LCase]]
 
[[Category:Language Reference]]
 
[[Category:Strings]]


[[lcase|LCASE]]
[[Category:BASIC Functions]]

Latest revision as of 15:38, 25 March 2019

This function is for BASIC compatibility. It is not available in pure JavaScript projects.

UCase(string)

Description

UCase returns string with all of its lowercase characters converted to uppercase. The required parameter, string, is any valid string expression.

Example (Basic)

Rem UCase Example
'UCase returns string with all upper case chars
Dim Vet
Vet = "ned"
Print Vet & " uppercase is " & UCase(Vet)

Output

ned uppercase is NED

Related Items

LCase