Paul
|
| Posted: 09/02/2002, 3:48 AM |
|
I would like to change the first letter of each word in a string to Upper case. Can this be done in asp. I am using CC 2 with asp, and mySQL.
e.g. 'reading sales' becomes 'Reading Sales'
Thanks in advance
Paul
|
|
|
 |
Simon
|
| Posted: 09/02/2002, 5:19 AM |
|
This could be done using the Stylesheet.
Here is an example using plan html file.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>
<BODY>
<style type="text/css">
p.capitalize {text-transform: capitalize}
</style>
<p class="capitalize">
This is some text in a paragraph
</p>
</BODY>
</HTML>
|
|
|
 |
|