2021-04-25 22:40:25 +00:00
|
|
|
The [[LCASE$]] function returns an all-lowercase version of a [[STRING]].
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageSyntax}}
|
2017-10-10 14:55:21 +00:00
|
|
|
:{{Parameter|result$}} = [[LCASE$]]({{Parameter|text$}})
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageDescription}}
|
|
|
|
* Normally used to guarantee that user input is not capitalized.
|
2017-10-10 14:55:21 +00:00
|
|
|
* Does not affect non-alphabetical characters.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
2017-10-10 14:55:21 +00:00
|
|
|
{{PageExamples}}
|
2016-03-18 11:36:04 +00:00
|
|
|
''Example:'' The following code guarantees that all user letter entries will be lower case:
|
2019-04-15 01:15:33 +00:00
|
|
|
{{CodeStart}}{{Cl|PRINT}} "Do you want to continue? (y/n)"
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
{{Cl|DO...LOOP|DO}}
|
|
|
|
K$ = {{Cl|LCASE$}}({{Cl|INKEY$}})
|
2019-04-15 01:15:33 +00:00
|
|
|
{{Cl|DO...LOOP|LOOP}} {{Cl|DO...LOOP|UNTIL}} K$ = "y" {{Cl|OR}} K$ = "n"
|
2015-08-02 12:12:44 +00:00
|
|
|
{{CodeEnd}}
|
|
|
|
|
|
|
|
|
|
|
|
{{PageSeeAlso}}
|
2016-03-18 11:36:04 +00:00
|
|
|
* [[UCASE$]] {{text|(upper case)}}
|
|
|
|
* [[INKEY$]]
|
|
|
|
* [[INPUT$]]
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
2019-04-15 01:15:33 +00:00
|
|
|
{{PageNavigation}}
|