Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Len()
Message
From
28/01/2015 23:19:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Len()
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01614567
Message ID:
01614567
Views:
71
Here's the follow up to my previous enquiry
I want to define the width of my temp window to match the longest sentence in this sample 3 line message
In this case for example I need the code query to produce the number 31

mes = 'I need the greatest line length'+chr(13)+chr(10)+'Of this 3 line message'+chr(13)+chr(10)+'any suggestions??'

then I can use that length to define the width of the window that will open.
(I hope i'm not regressing your coding experiences too far back.)

tnx for your help

k
Next
Reply
Map
View

Click here to load this message in the networking platform