ucwords

Uppercase the first character of each word in a string.

UCWORDS

NAME

ucwords - Uppercase the first character of each word in a string.

SYNOPSIS

ucwords(string)

PARAMETERS

string
The input string.

RETURN

Returns the resulting string.

EXAMPLES

in:  res=<{ucwords("Hello world! zzzz")}>.
out: res=Hello World! Zzzz.

SEE ALSO

{{ include("includes/strings.sn") }}

AUTHOR

Written by Pusnei Sergey, <sergey@sednove.com>

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.