proper()
Table of Contents
Overview
The proper() function takes a string as an argument. It returns the string with the first character in each word in upper case, and all other characters in lower case.
Return Type
- Text
Syntax
<variable> = <string>.proper();
Parameter | Description | Data type |
---|---|---|
<variable> | Variable which will contain the returned string value. | TEXT |
<string> | The string which will be returned in start case. | TEXT |
Examples
product_name="zoho creator";
newText = product_name.proper(); // returns "Zoho Creator"
newText = product_name.proper(); // returns "Zoho Creator"