# Setting the case of a last name is done like so:
$last = ucfirst lc("sampson");
# What about setting case for a multi-word string? e.g.;
$last = ucfirst lc("sampson-smith, jr");
gives Samson-smith, jr
But how can I get "Sampson-Smith, Jr" , where each portion of the proper name is capitalized?