Multisplit: Difference between revisions
Content added Content deleted
No edit summary |
|||
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>. |
Stupid Dgamey thinks "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}}== |