All Commands
All Format
Commands
VAR_TIDY
Tidy an existing variable. HTML comments, spaces, tabs and new lines will be removed as defined by the options parameter.
Options are as follows,
1 = Limit to single consecutive new lines
2 = Limit to single spaces between words
4 = Remove HTML comments
8 = Replace all white space groups with single spaces
16 = Remove indentation
32 = Remove all Carriage Returns
Add the values together to get the final option value. so the default of 7 results in options 1+2+4.
These are the same options used by RETURN_TIDY
Number | Name | Default | Type | Description |
---|---|---|---|---|
1 | name | String | The name of the variable to tidy. | |
2 | options | 7 | Integer | Bitwise value determining processes to perform. |