Valid in: | DATA step and PROC step |
Category: | Action |
Type: | Declarative |
Comparison 4
|
||
^=, ¬=, ~=, or
NE1
|
||
| or OR2
|
logical or3
|
|
~,^ , ¬, or NOT1
|
||
1The caret (^), tilde (~), and the not sign (¬ ) all indicate a logical not. Use the character available on your keyboard, or use the mnemonic equivalent. | ||
2The OR symbol ( | ), broken vertical bar ( | ), and exclamation point (!) all indicate a logical or. Use the character available on your keyboard, or use the mnemonic equivalent. | ||
3Two OR symbols (| | ), two broken vertical bars ( | | ), or two exclamation points (!!) indicate concatenation. Use the character available on your keyboard. | ||
4You can use the colon modifier (:) with any of the comparison operators in order to compare only a specified prefix of a character string. |