Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String Size
Message
De
03/06/1997 13:06:02
 
 
À
03/06/1997 10:48:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Groupes d'usagers
Titre:
Divers
Thread ID:
00034254
Message ID:
00034792
Vues:
33
Nicolas,

As I believe someone else has already advised, it is LENC() and not CLEN().

Cheers,
Jim N

>>>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
>>
>>Nicholas,
>>
>>LEN() will tell you length of a string in bytes and CLEN() will tell you the length in characters (handling double byte character sets properly).
>
>I've checked the online help a visual foxpro tell me that LEN() returns the number of characters but CLEN() doesn't exist.
>
>Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform