Lcase: Difference between revisions

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


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


<pre>
<pre>
Line 13: Line 13:
Uncle = "JIM"
Uncle = "JIM"
Print Uncle & " lowercase is " &LCASE(Uncle)
Print Uncle & " lowercase is " &LCASE(Uncle)
</pre>
== Example (JavaScript) ==
<pre>
// LCase Example
/* LCase returnsstringwithalllowercasechars */
var Uncle;
Uncle = "JIM";
NSB.Print(Uncle + " lowercase is " + Uncle.toLowerCase());
</pre>
</pre>



Revision as of 20:52, 19 May 2013

LCase(string)

Description

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

Example (Basic)

Rem LCase Example
'LCase returnsstringwithalllowercasechars
Dim Uncle
Uncle = "JIM"
Print Uncle & " lowercase is " &LCASE(Uncle)

Example (JavaScript)

// LCase Example
/* LCase returnsstringwithalllowercasechars */

var Uncle;
Uncle = "JIM";
NSB.Print(Uncle + " lowercase is " + Uncle.toLowerCase());

Output

JIM lowercase is jim

Related Items

UCase