$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
Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2019-01-12.   This site is PIKT® powered.
Copyright © 1998-2019 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
View sample
search links
script macro