Lcase: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
JwellsNB (talk | contribs)
 
(2 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.''
LCase(''string'')
LCase(''string'')


Line 9: Line 11:
<pre>
<pre>
Rem LCase Example
Rem LCase Example
'LCase returnsstringwithalllowercasechars
'LCase returns string with all lower case chars
Dim Uncle
Dim Uncle
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>


Line 39: Line 30:


[[Category:Strings]]
[[Category:Strings]]
[[Category:BASIC Functions]]

Latest revision as of 15:29, 25 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