| _CP_sleep | Index Level | _CP_sort |
| Syntax | int _CP_SLEN(CPSTR* string) |
| Category | C Interface |
| Type | C Macro |
| Description | returns the length of the CPSTR*, string. |
| Options | |
| See Also | C Functions introduction CPSTR _CP_SADDR |
| Example |
CPSTR * s = _CP_mkstr("hi");
int i = _CP_SLEN(s); |
| Warnings | The _CP_SLEN() macro should NEVER be used to change the length of a CPSTR. Doing so may cause data corruption. |
| Compatibility | AP 6.1 |
| _CP_sleep | Index Level | _CP_sort |