1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 22:50:23 +00:00
QB64-PE/internal/help/LCASE$.txt
2016-03-18 08:36:04 -03:00

28 lines
724 B
Plaintext

The '''LCASE$''' function changes the uppercase letters of a {{KW|STRING}} to lowercase.
{{PageSyntax}}
:''result$'' = '''LCASE$('''{{Parameter|text$}}''')'''
{{PageDescription}}
* Normally used to guarantee that user input is not capitalized.
* Will not affect non alphabet string characters.
''Example:'' The following code guarantees that all user letter entries will be lower case:
{{CodeStart}}{{Cl|PRINT}} "Do you want to continue? (y/n)"
{{Cl|DO...LOOP|DO}}
K$ = {{Cl|LCASE$}}({{Cl|INKEY$}})
{{Cl|DO...LOOP|LOOP}} {{Cl|DO...LOOP|UNTIL}} K$ = "y" {{Cl|OR}} K$ = "n"
{{CodeEnd}}
{{PageSeeAlso}}
* [[UCASE$]] {{text|(upper case)}}
* [[INKEY$]]
* [[INPUT$]]
{{PageNavigation}}