RemoveSurroundingWhiteSpace

void RemoveSurroundingWhiteSpace (char string[]);

Purpose

Removes leading and trailing white space from a string. The string is modified in place and will be shortened by the number of white space characters removed.

Parameters

Input
Name Type Description
string char [] Pass the string from which to remove the surrounding white space.

Return Value

None.