Multisplit: Difference between revisions
Content added Content deleted
(Undo revision 105538 by 93.79.132.29 (talk) vandalism) |
No edit summary |
||
Line 5: | Line 5: | ||
'''Extra Credit:''' include match information that indicates which separator was matched at each separation point and where in the input string that separator was matched. |
'''Extra Credit:''' include match information that indicates which separator was matched at each separation point and where in the input string that separator was matched. |
||
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==d</code>” and the separators “<code>==</code>”, “<code>!=</code>” and “<code>=</code>”. |
||
For these inputs the string should be parsed as <code>a |
For these inputs the string should be parsed as <code>a! {==} =b= {!=} c {=} =d</code>. |
||
=={{header|D}}== |
=={{header|D}}== |