Difference between revisions of "Manual:DIL Manual/toupper()"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
 
Line 1: Line 1:
 +
<span id="bftoupper"></span>
  
 +
'''Function:'''  <i><!--CODE-->string toupper ( s : string );</i><!--ENDCODE-->
  
 +
<!--TERM-->  '''s'''
 +
<!--DEFINITION-->        String to lower case
 +
<!--TERM-->  '''return'''
 +
<!--DEFINITION-->        the string passed in lower cased
 +
 +
This function returns a copy of the string passed in with all characters changed
 +
to be capitalized.
 +
'''Example:'''  <i><!--CODE-->"HELLO!" := toupper ("hello!");</i><!--ENDCODE-->
 +
 +
 +
---~---~---~---~---~---~---~---~---
 
<span id="bftoupper"></span>
 
<span id="bftoupper"></span>
  

Latest revision as of 22:33, 4 December 2025

Function:  string toupper ( s : string );
  s
         String to lower case
  return
         the string passed in lower cased
This function returns a copy of the string passed in with all characters changed
to be capitalized.
Example:  "HELLO!" := toupper ("hello!");


---~---~---~---~---~---~---~---~---

Function:  string toupper ( s : string );
  s
         String to lower case
  return
         the string passed in lower cased
This function returns a copy of the string passed in with all characters changed
to be capitalized.
Example:  "HELLO!" := toupper ("hello!");


---~---~---~---~---~---~---~---~---