# 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).