Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a carriage return to a text string
Message
 
À
14/10/2014 01:52:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01609291
Message ID:
01609298
Vues:
79
>>I want to add a carriage return to the end following string what is the format +"
>>
>>
>>+'"'+sstate+'",';
>>+'"'+ccountry+'",';
>>+'"'+czip+'",'
>
>Carriage Return (CR) is CHR( 13 ).
>Line Feed (LF) is CHR( 10 ).
>
>There are a few places where you want to use just CR for going to a new line e.g. when building long, multi-line messages for the MESSAGEBOX() function.
>
>If you're building a text file and you want other applications to accept that text ends at one point and resumes at a new line later, you generally need to add the so-called CRLF combination i.e. you would add CHR( 13 ) + CHR( 10 ) to the end of each line.

Thanks a lot
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform