Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print a string in different lines
Message
From
26/01/2005 23:59:36
 
 
To
26/01/2005 23:41:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00981098
Message ID:
00981099
Views:
25
Hi Evelyn.

You coult use STRTran to convert the semicolons to carriage returns and print that.
?STRTran(lcStringVar, ";", Chr(13))
If you are trying to write it to a text file that you need to open in Notepad or something else that doesn't fully recognise carriage returns as proper line breaks you'll need to use Chr(13)+Chr(10) as the third parameter.

Ian Simcock.
Previous
Reply
Map
View

Click here to load this message in the networking platform