Difference between revisions of "Manuals/calci/PROPER"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div style="font-size:30px">'''PROPER(txt)'''</div><br/>
+
<div style="font-size:30px">'''PROPER(text)'''</div><br/>
*<math>txt</math>   is the text  given in double quotas
+
*<math>text</math> is the text  given in double quotes
  
 
==Description==
 
==Description==
Line 7: Line 7:
 
*In a sentence this function is taking the first letter of each word to change in to a upper case letters and remaining all of the letters it will change in to a lower case letters.
 
*In a sentence this function is taking the first letter of each word to change in to a upper case letters and remaining all of the letters it will change in to a lower case letters.
 
*PROPER  function will consider only the text, when we are giving any numbers, or any special characters like @,&..  all are  ignored.
 
*PROPER  function will consider only the text, when we are giving any numbers, or any special characters like @,&..  all are  ignored.
*Also we have to give the <math>txt</math> with in double quotas("") or we can use the cell references.
+
*Also we have to give the <math>txt</math> with in double quotes("") or we can use the cell references.
 +
 
 +
==ZOS Section==
 +
*The syntax of displaying the text in a proper method in ZOS is <math>PROPER(text)</math>.
 +
**<math>text</math>  is the text  given in double quotes.
 +
*For e.g.,
  
 
==Examples==
 
==Examples==

Revision as of 03:10, 30 June 2014

PROPER(text)


  • is the text given in double quotes

Description

  • This function is used to capitalizes the first letter in each word .
  • Also it is changing the other letters in to lower case.
  • In a sentence this function is taking the first letter of each word to change in to a upper case letters and remaining all of the letters it will change in to a lower case letters.
  • PROPER function will consider only the text, when we are giving any numbers, or any special characters like @,&.. all are ignored.
  • Also we have to give the with in double quotes("") or we can use the cell references.

ZOS Section

  • The syntax of displaying the text in a proper method in ZOS is .
    • is the text given in double quotes.
  • For e.g.,

Examples

  1. PROPER("i like to have a icecream")=I Like To Have A Icecream.
  2. PROPER("WHERE YOU ARE GOING")=Where You Are Going.
  3. PROPER("august 15th")=August 15Th.
  4. PROPER(nice place)=Null

See Also

References