home *** CD-ROM | disk | FTP | other *** search
- <!--- This example shows the use of LTrim --->
- <HTML>
-
- <HEAD>
- <TITLE>
- LTrim Example
- </TITLE>
- </HEAD>
-
- <BASEFONT FACE="Arial, Helvetica" SIZE=2>
- <BODY bgcolor="#FFFFD5">
-
- <H3>LTrim Example</H3>
-
- <CFIF IsDefined("form.myText")>
- <CFOUTPUT>
- <PRE>
- Your string: "#form.myText#"
- Your string: "#Ltrim(form.myText)#"
- (left trimmed)
- </PRE>
- </CFOUTPUT>
-
- </CFIF>
-
- <FORM ACTION="ltrim.cfm" METHOD="POST">
- <P>Type in some text, and it will be modified
- by Ltrim to remove leading spaces from the left
- <P><INPUT TYPE="Text" NAME="myText" VALUE=" TEST">
-
- <P><INPUT TYPE="Submit" NAME="">
- </FORM>
-
-
- </BODY>
-
- </HTML>
-