<?xml version="1.0" encoding="windows-1252"?>
<node id="6510" title="How do I handle mid-line carriage returns in a flatfile database?" created="2000-03-30 04:07:47" updated="2005-08-10 06:35:48">
<type id="1857">
categorized question</type>
<author id="11732">
QandAEditors</author>
<data>
<field name="doctext">
I'm using a flat file database and getting problems 
when carriage returns (asc 0x0D) occur in the middle of lines. 
This happens, for example, when the text comes from a web form TEXTAREA field.
How can  I strip such carriage return characters from a string?
</field>
<field name="parent_node">
1835</field>
<field name="reputation">
0</field>
</data>
</node>
