User Guide : Using Content Extraction Language : Language Syntax and Examples : InitCaps (string)
 
Share this page                  
InitCaps (string)
This built-in function converts the first character of each word to uppercase. The argument string can be any valid string expression. It may also be entered as a field name. The data in string may have been entered either in all lowercase, all uppercase, or any combination of lowercase and uppercase.
Example
# The following expression would be used to convert the first character of the names in a
# field in the Source File called NAME to uppercase with the remainder of the characters
# in lowercase in the target file.
InitCaps(NAME)