$proper()
DESCRIPTION returns a string with every word capitalized
SYNOPSIS
$proper(s)
ARGUMENTS s - a quoted string, or string expression
EXAMPLES
# pikt +C 'output $proper("an officer and a gentleman")'
An Officer And A Gentleman
rule // convert all upper case to first letter capitalized only
set $nm = $proper($lower($name))
rule
set $hdr = $proper($lower($command("=ps | =head -n 1")))
SEE ALSO $upper() $lower() String Functions Numerical Functions