Multisplit: Difference between revisions
Content added Content deleted
No edit summary |
(Undo revision 105538 by 93.79.132.29 (talk) vandalism) |
||
Line 7: | Line 7: | ||
Test your code using the input string “<code>a!===b=!=c</code>” and the separators “<code>==</code>”, “<code>!=</code>” and “<code>=</code>”. |
Test your code using the input string “<code>a!===b=!=c</code>” and the separators “<code>==</code>”, “<code>!=</code>” and “<code>=</code>”. |
||
For these inputs the string should be parsed as <code>a != == b = != c == != d</code>. |
|||
If you're smart enough, it's easy to understand: he ignores ORDER of separators. Real output is: <code>a! '''==''' =b= '''!=''' c<code> with unused last delimiter '='. |
|||
=={{header|D}}== |
=={{header|D}}== |