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

    SourceString$ = The string you wish to convert to upper case
Returns:

    ResultString$ = The string converted to upper case
 

      Upper$() takes the input string and will convert any lower case characters within it, to upper case.



FACTS:


      * Upper$ will only effect lower cast (alphabetical) characters in a string.

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





Mini Tutorial:


      Display the a message using upper case.


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



This example would output.

  
  HELLO WORLD
  


 
Example Source: Download This Example
; ---------------------------------------
; Upper$ 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 all UPPARE case letters
  
  Print Upper$(SourceString$)
  
; Show Us the Screen And Wait For Key Input before ending
  Sync
  WaitKey
  
  
 
Related Info: AutoCaps$ | Chr$ | CutLeft$ | CutRight$ | Flip$ | Hex$ | lower$ | Make$ | Pad$ | Str$ | Trim$ | TrimLeft$ | TrimRight$ :
 


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