###Function###
StringStripWS

###Description###
Strips the white space in a string.

###Syntax###
StringStripWS ( "string", flag )


###Parameters###
@@ParamTable@@
string
	The string to strip.
flag
	Flag to indicate the type of stripping that should be performed (add the flags together for multiple operations):
		$STR_STRIPLEADING (1) = strip leading white space
		$STR_STRIPTRAILING (2) = strip trailing white space
		$STR_STRIPSPACES (4) = strip double (or more) spaces between words
		$STR_STRIPALL (8) = strip all spaces (over-rides all other flags)
	Constants are defined in StringConstants.au3
@@End@@

###ReturnValue###
Returns the new string stripped of the requested white space.


###Remarks###
Whitespace includes <a href="Chr.htm">Chr</a>(9) thru <a href="Chr.htm">Chr</a>(13) which are HorizontalTab, LineFeed, VerticalTab, FormFeed, and CarriageReturn.  Whitespace also includes the null string ( <a href="Chr.htm">Chr</a>(0) ) and the standard space ( <a href="Chr.htm">Chr</a>(32) ).

To strip single spaces between words, use the function <a href="StringReplace.htm">StringReplace()</a>.


###Related###
StringIsSpace, StringReplace, StringStripCR


###Example###
@@IncludeExample@@
