Function ISSPACES
TABLE OF CONTENTS
- How do I use ISSPACES?
- Syntax
- Rules for the syntax
- Examples: ISSPACES function in ERF
- Examples: ISSPACES function in ECL
How do I use ISSPACES?
The ISSPACES function returns true if the specified field contains spaces, and false if the value is anything else.
The field can be a source field or a field from a lookup.
ISSPACES can only be used in Extract Record Filter (ERF) and Extract Column Logic (ECL) text.
Syntax
Rules for the syntax
ISSPACES can only be used in Extract Record Filter (ERF) and Extract Column Logic (ECL) text.
If this functions checks a lookup, and no effective date is specified, the lookup uses RUNDAY( ) - see topic: Syntax - function RUNDAY
See also topic: Rules for all Logic Text
Examples: ISSPACES function in ERF
Example logic text | Meaning |
---|---|
IF ISSPACES({field9}) THEN SKIP ENDIF |
Skip all input records where field9 is spaces, and select all other records. This example is the same as: SKIPIF(ISSPACES({field9})) |
Examples: ISSPACES function in ECL
Example logic text | Meaning |
---|---|
IF ISSPACES({field1}) THEN COLUMN = “DEFAULT” ELSE COLUMN = {field1} ENDIF |
If field1 for the current record is spaces, then set the current column to “DEFAULT”, otherwise set the current column to field1. |