Technical References - [capitalize]

Capitalizes the first letter of all words in a sentence.

numero = 215
interpreted = N
texte = [capitalize]Any Text[/capitalize] To convert the words of a sentence to capitalized form, put them inside a [capitalize] context. Only the first letter of each word (any letter following a space) is capitalized. If the remaining letters in the word are uppercase, they will be changed to lowercase. If the word begins with a numeral, the numeral is left unchanged, and the rest of the letters will become lowercase. No attempt is made to be grammatically correct -- articles such as "a, an, of" are capitalized just like any other word. Example:
[Capitalize]Some Text that contains upper- and lower case letters[/Capitalize][Capitalize]HI THERE[/Capitalize][Capitalize]this is my 1st time at bat[/Capitalize][Capitalize]a of on at the in or[/Capitalize]
In the examples above, the displayed text will be Some Text That Contains Upper- And Lower Case Letters Hi There This Is My 1st Time At Bat A Of On At The In Or You can use this context to display user-entered text (such as first and last names) so they look more consistent, regardless of how the user typed them. [capitalize]Any Text[/capitalize]

To convert the words of a sentence to capitalized form, put them inside a [capitalize] context. Only the first letter of each word (any letter following a space) is capitalized. If the remaining letters in the word are uppercase, they will be changed to lowercase. If the word begins with a numeral, the numeral is left unchanged, and the rest of the letters will become lowercase. No attempt is made to be grammatically correct -- articles such as "a, an, of" are capitalized just like any other word.

Example:

[capitalize]Some Text that contains upper- and lower case letters[/Capitalize]
[capitalize]HI THERE[/Capitalize]
[capitalize]this is my 1st time at bat[/Capitalize]
[capitalize]a of on at the in or[/Capitalize]

In the examples above, the displayed text will be

Some Text That Contains Upper- And Lower Case Letters
Hi There
This Is My 1st Time At Bat
A Of On At The In Or
You can use this context to display user-entered text (such as first and last names) so they look more consistent, regardless of how the user typed them.

DOWNLOAD WEBDNA NOW!

Top Articles:

Tips and Tricks

A list of user-submitted tips ...

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

Download WebDNA Applications

WebDNA applications...

F.A.Q

A compilation of some user's questions...

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

WebDNA Libraries

A list of available libraries for WebDNA...

Related Readings:

[append]

[append db=base...

[ddesend]

Sends text to a DDE server program on the local machine...

[SQL]

Performs a SQL statement on an ODBC data source...

[return]

Explicitly identify what text is returned from a function call...

[createfolder]

Create an empty folder on your webspace...

[SQLconnect]

Opens and persists a 'named' connection to a SQL server...