Information générale
Catégorie:
Groupes d'usagers
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement