cfunc.slen

C Macro/C Functions, Releases: AP 6.1

Return the length of a CPSTR.

Syntax

int _CP_SLEN(CPSTR* string)

Description

returns the length of the CPSTR*, string.

Example

CPSTR * s = _CP_mkstr('hi');
int i = _CP_SLEN(s);

See Also

Command Name Type Description
cfunc.introduction Introductory Overview
cpstr Definition String structure for accessing Pick from C.
cfunc.saddr C Macro Return a pointer to the first character of a CPSTR*

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.