Lcase: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
''This function is for BASIC compatibility. It is not available in pure JavaScript projects.''
LCase(''string'')
LCase(''string'')


Line 13: Line 15:
Uncle = "JIM"
Uncle = "JIM"
Print Uncle & " lowercase is " &LCASE(Uncle)
Print Uncle & " lowercase is " &LCASE(Uncle)
</pre>
== Example (JavaScript) ==
<pre>
// LCase Example
/* toLowerCase returns string with all lower case chars */
var Uncle;
Uncle = "JIM";
NSB.Print(Uncle + " lowercase is " + Uncle.toLowerCase());
</pre>
</pre>



Revision as of 17:56, 24 March 2019

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

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 returns string with all lower case chars
Dim Uncle
Uncle = "JIM"
Print Uncle & " lowercase is " &LCASE(Uncle)

Output

JIM lowercase is jim

Related Items

UCase