Lower$
ResultString$ = Lower$(SourceString$)
 
Parameters:

    SourceString$ = The String You wish to convert
Returns:

    ResultString$
 

      Lower$() takes the input string and converts all of the upper case characters within it to lower case. The source string is



FACTS:


      * Lower$ only affects upper case alphabetical characters within a string. Nothing else will be changed.

      * Lower$ doesn't alter the SourceString$ parameter, rather it returns a new string.

      * Also see Upper$() and AutoCaps$() functions.





Mini Tutorial:


Display the a message using user case.

  
  
; Display the message "HELLO WORLD" as lower case
  Print Lower$("Hello World")
  Print Lower$("HELLO WORLD")
  
; Display the Screen and wait for the user
; to press a key
  Sync
  WaitKey
  



This example would output.

  
  hello world
  hello world
  



 
Example Source: Download This Example
; -----------------------------------------
; Lower$ EXAMPLE
; -----------------------------------------
  
; Create a String Variable called "SourceString$" and
; place the text "Play Basic" within it.
  
  SourceString$= "Play Basic"
  
; Display the SourceString$ variable
  Print SourceString$
  
; Display the SourceString$  in Lower case
  Print Lower$(SourceString$)
  
; Show Us the Screen And Wait For Key Input before ending
  Sync
  WaitKey
  
  
 
Related Info: autocaps$ | Digits$ | Flip$ | Make$ | Right$ | Trim$ | TrimLeft$ | TrimRight$ | upper$ :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com