Admin Production ni-theme
Current Publication

RemoveSurroundingWhiteSpace

LabWindows/CVI

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.

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later

Examples

Refer to the following examples that use the RemoveSurroundingWhiteSpace function:

  • toolbox\XMLSample.cws

    Open example
  • userint\custctrl\cviogl\ogldemo.cws

    Open example