<!--- 
 Filename: UsingTextToTitleCase.cfm
 Author: Nate Weiss (NMW)
 Purpose: Demonstrates how to use the <cf_TextToTitleCase> custom tag
--->

<html>
<head><title>Using &lt;cf_TextToTitleCase&gt;</title></head>
<body>

<h2>Using &lt;cf_TextToTitleCase&gt;</h2>

<!--- Text to convert to "Title Case" --->
<cfset originalText = "The rest of the band's around back.">
 
<!--- Convert Text to Title Case, via Custom Tag --->
<cf_textToTitleCase input="#originalText#" output="fixedCase">
 
<!--- Output the text, now in Title Case --->
<cfoutput>
<p><b>Original Text:</b><br>
#originalText#<br>
 
<p><b>Processed Text:</b><br>
#FixedCase#<br>
</cfoutput> 

</body>
</html> 
