More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{HelpFiles}} | |||
==== 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 input | string result = proper(input); | ||
print(result); | |||
//"Catglobe Is The Best" | |||
'''Availability''' | |||
Version 5.2 __NOTOC__ | |||
[[Category:String_Functions]] | |||
Revision as of 03:32, 14 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