<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>STRIPCR</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="Description">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">STRIPCR</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Description</span>
<p>
Deletes return characters from a string.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Returns</span>
<p>
A copy of string, after removing return characters.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Category</span>
<p>
Display and formatting functions, String functions
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Function syntax</span><pre>StripCR(string)
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">See also</span>
<p>
ParagraphFormat
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Parameters</span>
<p>

</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Usage</span>
<p>
Useful for preformatted (between &lt;pre&gt; and &lt;/pre&gt; tags) HTML display of data entered in textarea fields.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Example</span><pre>&lt;h3&gt;StripCR Example&lt;/h3&gt;

&lt;p&gt;Function StripCR is useful for preformatted HTML display of data 
(PRE) entered in textarea fields.
&lt;cfif isdefined(&quot;Form.myTextArea&quot;)&gt;

&lt;pre&gt;
&lt;cfoutput&gt;#StripCR(Form.myTextArea)#&lt;/cfoutput&gt;
&lt;/pre&gt;
&lt;/cfif&gt;
&lt;!--- use #Chr(10)##Chr(13)# to simulate line feed/carriage return combination 
---&gt;
&lt;form action = &quot;stripcr.cfm&quot;&gt;
&lt;textarea name = &quot;MyTextArea&quot; cols = &quot;35&quot; rows = 8&gt;
This is sample text and you see how it scrolls
   &lt;cfoutput&gt;#Chr(10)##Chr(13)#&lt;/cfoutput&gt;
From one line 
   &lt;cfoutput&gt;#Chr(10)##Chr(13)##Chr(10)##Chr(13)#&lt;/cfoutput&gt; 
to the next
&lt;/textarea&gt;
&lt;input type = &quot;Submit&quot; name = &quot;Show me the HTML version&quot;&gt;
&lt;/form&gt;
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="STRING">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">STRING</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>


<p>A string or a variable that contains one</p>

  </td>
  </tr>
  </table>
</div>

  </body>
</html>
