CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 change first letter of each word to Upper Case

Print topic Send  topic

Author Message
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>

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.