StrDupWithoutSurrWhiteSpace
char *StrDupWithoutSurrWhiteSpace (const char string[]);
Purpose
Dynamically allocates a copy of a string, removing any leading or trailing white space.
Parameters
Input | ||
Name | Type | Description |
string | const char[] | The string to copy. |
Return Value
Name | Type | Description |
copyOfString | char * | Pointer to the dynamically allocated copy of the string. If there was insufficient memory for the allocation, this function returns NULL (0). |
Additional Information
Library: Programmer's Toolbox
Include file: toolbox\toolbox.h
LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later