upperword(
TEXT
)

The upperword( function converts text to Initial Caps.


Parameters

This function has one parameter:

text – The text to be converted.


Description

The upperword( function converts text to initial caps. In other words, the first letter of each word is changed to upper case, and all other letters are changed to lower case.

upperword("john smith") ☞ John Smith
upperword("Mary Bishop") ☞ Mary Bishop
upperword("net 30") ☞ Net 30
upperword("NEW York") ☞ New York
upperword(30) ☞ 30

As the last line shows, if you pass a number to this function it will be converted to text (like the str( function).


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0