Y_YA_StripSpaces
This function block will copy an InputString to the OutputString while omitting all space characters (ASCII 32 decimal).
Parameters:
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_INPUT | ||||
| B | Enable | BOOL | This function will continue to update while Enable is held high. | FALSE |
| V | InputString | STRING | The input string that will be modified to not contain any spaces. | ' ' |
| VAR_OUTPUT | ||||
| B | Valid | BOOL | High if the function is executing normally. | |
| V | OutputString | STRING | Modified output of the string that was input to the function block. | |
Note:
- EN must be set high for this function to operate.
- The OutputString is only valid if ENO is high. If for some reason the conversion had an error, ENO will not be set.
- An empty input string is not valid