Other Functions
CAPLfunctionMbStrLen
Open topic with navigation
CAPL Functions » General » Function Overview » mbstrlen
strlen • mbstrncmp • mbstrncpy
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
long mbstrlen(char s[]);
long length;
char s1[10] = "door";
char s2[10] = "Tür";
write("%d %d", mbstrlen(s1), strlen(s1)); // 4 4
write("%d %d", mbstrlen(s2), strlen(s2)); // 3 [3 or 4 depending on file encoding]