Difference between revisions of "Proper"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
{{HelpFiles}}

 
  
====proper====
+
==== proper ====
  
Capitalizes the first letter in a text string and any other letters in text that follow any character other than a letter. Converts all other letters to lower case letters.
+
Capitalizes the first letter in a text string and any other letters in text that follow any character other than a letter. Converts all other letters to lower case letters.  
  
'''Syntax'''
+
'''Syntax'''  
  
proper(''inputString'')
+
proper(''inputString'')  
  
'''Arguments'''
+
'''Arguments'''  
  
''inputString'': is a string expression.
+
''inputString'': is a string expression.  
  
'''Return type'''
+
'''Return type'''  
  
string
+
string  
  
'''Example'''
+
'''Example'''  
  
string input = "catglobe is tHe beSt";
+
''string input = "catglobe is tHe beSt"; ''
  
string result = proper(input);
+
''string result = proper(input); ''
  
print(result);
+
''print(result); ''
  
//"Catglobe Is The Best"
+
''//"Catglobe Is The Best" ''
  
'''Availability'''
+
'''Availability'''  
  
Version 5.2
+
Version 5.2 __NOTOC__
__NOTOC__
+
 
<!-- imported from file: 686.htm-->
+
[[Category:String_Functions]]

Latest revision as of 11:46, 22 December 2011


proper

Capitalizes the first letter in a text string and any other letters in text that follow any character other than a letter. Converts all other letters to lower case letters.

Syntax

proper(inputString)

Arguments

inputString: is a string expression.

Return type

string

Example

string input = "catglobe is tHe beSt";

string result = proper(input);

print(result);

//"Catglobe Is The Best"

Availability

Version 5.2