Loading...
Select Version
&pagelevel(3)&pagelevel
Domain: String functions/test functions
The IS-SDF-LIST( ) function analyzes whether a string expression is an SDF list of the format ’<element1>,<element2>,...,<elementni>)' where <element> is a character sequence that must not contain any comma (except within parentheses).
Format
IS-SDF-LIST( ) |
STRING = string_expression |
Result type
BOOLEAN
Input parameters
STRING = string_expression
Name of the string to be analyzed.
Result
TRUE
The string expression is an SDF list.
FALSE
The string expression is not an SDF list.
Error messages
No error messages
Example
/A=IS-SDF-LIST('(val1,val2)') SHOW-VAR A A = TRUE /A=IS-SDF-LIST('val') /SHOW-VAR A A = FALSE