String comparison: Difference between revisions
Content added Content deleted
(→{{header|D}}: added D) |
(GP) |
||
Line 113: | Line 113: | ||
'YUP' (eq , ne , gt , lt , ge , le) 'YEP' |
'YUP' (eq , ne , gt , lt , ge , le) 'YEP' |
||
0 1 1 0 1 0</lang> |
0 1 1 0 1 0</lang> |
||
=={{header|PARI/GP}}== |
|||
Strings are compared for equality and inequality with <code>==</code> and <code>!=</code> and are compared with <code>cmp</code> or with the usual <code>< > <= >=</code>. Case-insensitive comparison is not built in. |
|||
=={{header|Perl 6}}== |
=={{header|Perl 6}}== |