Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String Size
Message
From
30/05/1997 11:34:51
 
 
To
30/05/1997 11:33:29
General information
Forum:
Visual FoxPro
Category:
User groups
Title:
Miscellaneous
Thread ID:
00034254
Message ID:
00034256
Views:
32
>>I need to return the size of a character string in bytes. Is there any function that can help me accomplish this task. I've tried _STRLEN() API but i can't seem to get the correct syntax.
>>
>>Any help is greatly appreciated!
>>Thank in advance
>
>Just check field length: for characted field size=length, e.g. if length=12, size=12 bytes.

One addition, if it's not field but character variable use LEN() function to return length=size.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform