UCase: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
JwellsNB (talk | contribs)
Add javascript snippet
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
''This function is for BASIC compatibility. It is not available in pure JavaScript projects.''
UCase(''string'')
UCase(''string'')


Line 13: Line 15:
Vet = "ned"
Vet = "ned"
Print Vet & " uppercase is " & UCase(Vet)
Print Vet & " uppercase is " & UCase(Vet)
</pre>
== Example (JavaScript) ==
<pre>
// toUpperCase Example
/* toUpperCase returns string with all upper case chars */
var Vet;
Vet = "ned";
NSB.Print Vet + " uppercase is " + Vet.toUpperCase();
</pre>
</pre>


Line 38: Line 30:


[[Category:Strings]]
[[Category:Strings]]
[[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