Admin Production ni-theme
Current Publication

SkipWhiteSpace

LabWindows/CVI

SkipWhiteSpace

char *SkipWhiteSpace (const char string[]);

Purpose

Returns a pointer to the first non–white–space character in string.

If there are no non–white–space characters in string before the first ASCII NULL byte, the function returns a pointer to the NULL byte.

Parameters

Input
Name Type Description
string const char[] A nul–terminated string.

Return Value

Name Type Description
pointerToNonWhiteSpace char * A pointer to the first non–white–space character in string. If there are no non–white–space characters in string before the first ASCII NUL byte, a pointer to the ASCII NUL byte.

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later

Example

Refer to functionpanels\Customization\SelectColor.cws for an example of using the SkipWhiteSpace function.