Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treating lines in a variable
Message
From
27/09/2012 10:00:46
 
 
To
27/09/2012 09:59:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01553736
Message ID:
01553751
Views:
56
>>>Something like this (not tested)
>>>lcNewString=''
>>>#define crlf chr(13)+chr(10)
>>>For lnX = 1 to memlines(lcString)
>>>   lcNewString =Upper(Left(mline(lcString,lnX),1)) + substr(mline(lcString,lnX),2)  + crlf
>>>Endfor
>>>lcNewString = left(lcNewString, len(lcNewString-2))
>>
>>No
>
>???
>

Try a with an mline() that is longer than set('memowidth')
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform