UCase: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
m (Ghenne moved page Ucase to UCase)
(Add javascript snippet)
Line 5: Line 5:
UCase returns string with all of its lowercase characters converted to uppercase. The required parameter, ''string'', is any valid string expression.
UCase returns string with all of its lowercase characters converted to uppercase. The required parameter, ''string'', is any valid string expression.


== Example ==
== Example (Basic) ==


<pre>
<pre>
Line 13: Line 13:
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>



Revision as of 03:06, 19 May 2013

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)

Example (JavaScript)

// toUpperCase Example
/* toUpperCase returns string with all upper case chars */

var Vet;
Vet = "ned";
NSB.Print Vet + " uppercase is " + Vet.toUpperCase();

Output

ned uppercase is NED

Related Items

LCase