C4 Engine
C4 Engine API Documentation

Text::GetTextLength

Defined in:  TSText.h
Returns the length of a character string.
Prototype

int32 GetTextLength(const char *text);

Parameters
text A pointer to a null-terminated character string.
Description
The GetTextLength function returns the number of bytes occupied by the string specified by the text parameter.

The string must be null-terminated by a zero byte. The null terminator is not included in the length.
See Also

Text::GetUnicodeCharCount