TinyMUX

Capstr()

Functions

FUNCTION: capstr(<string>)

Returns <string> with the first character capitalized. If the first character is not a letter, this function returns the string unmodified.

Example:

> say capstr(this is a string I want capitalized)
You say, "This is a string I want capitalized"

Related Topics: lcstr(), ucstr().