_chr(STRING* string);
Converts a STRING to a null-terminated character array; sometimes useful
for functions called from external languages.
Parameters:
string - STRING* or char* pointer to be converted.
Returns:
char* - pointer to the char array contained in the STRING*.
Speed:
Fast
Remarks:
This function automatically detects whether its argument is a STRING* or a char*;
the char* string must be null-terminated and contain at least 3 characters.
Example:
my_dll_function(_chr(pMyString));
See also:
_str
► latest
version online