Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - function proper() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION PROPER()

  Short:
  ------
  PROPER() Capitalizes first letters of string, lowers rest

  Returns:
  --------
  <cProper> => string properized

  Syntax:
  -------
  PROPER(cTarget)

  Description:
  ------------
  Capitalizes all first letters of words in <cTarget>
  and converts the rest to lowercase

  Examples:
  ---------
   cString := "SUPER liBraRy"

   cString := PROPER(string)

   // (returns "Super Library"

  Notes:
  -------
  There are cases where this just won't work - for
  instance I.B.M. would be converted to I.b.m.

  Source:
  -------
  S_PROPER.PRG


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson