Can I export line breaks and carriage returns into the file?
Q: Can I export line breaks and carriage returns into the file?
A: This capability was recently added.
You can use the tokesn &cr; and &lf; in your templates. In the exported file these will be replaced with a carriage-return and linefeed, respectively.
Whether or not you'll need both &cr; and &lf; at the end of a line depends on the operating system used to open the text file.
Here's an example of how to use them. The first 8 lines of a sample format file:
OID:55768W
OED:01/15/2003
OET:20:03:00
CFN:Gerri
CLN:Buchnee
CAD:P.O. Box 4181
CCI:Nashua
To achieve this, you would modify the "Template for Order row" to have (obviously this portion is just for the first 8 fields and therefore only a portion of what you'll have in that template):
OID:%orderid%&cr;&lf;
OED:%orderdate%&cr;&lf;
OET:%ordertime%&cr;&lf;
CFN:%ship_fname%&cr;&lf;
CLN:%shp_lname%&cr;&lf;
CAD:%ship_addr%&cr;&lf;
CCI:%ship_city%&cr;&lf;
In my test store with my test editor (using Windows XP Pro) I needed only &cr; or &lf; to get the line break.
Last update: 2006-02-13 21:04
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
- Is there any way to look up a customer's ... (2008-08-06 18:04)
- I am looking for a module that will allow ... (2008-08-06 18:00)
- Is it possible to display a link in Phone ... (2008-08-06 12:05)
Top 10 
- 2754 views:
Adding Tokens to Evaluate Expressions - 2698 views:
Is there a way to "Limit" the number of ... - 2654 views:
Why won't you call me for technical support? I ... - 2549 views:
Are license keys valid for more than one store? ... - 2447 views:
I'm trying to enter a license key and get ... - 2425 views:
How do I install a module? - 2286 views:
How do I check for a module upgrade? - 2255 views:
How can display and change the parameters of an ... - 2097 views:
The total on my checkout pages are not correct. ... - 1932 views:
I have select and radio type attributes in my ...
















