Ad
  • Default User Avatar

    The description says:

    If the last part is the empty string this empty string must be shown in the resulting array.

  • Default User Avatar

    if my code not allow empty elements, test fails with:

    Expected: ["bdf", "hjl", "nps", "eek", ""], instead got: ["bdf", "hjl", "nps", "eek"]

    if change my code to allow empty elements, the above test works, but another test fails with:

    Expected: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut"], instead got: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut", ""]

    what's the pattern? allow empty elements or not?

  • Default User Avatar

    Expected: ["bdf", "hjl", "nps", "eek", ""], instead got: ["bdf", "hjl", "nps", "eek"]
    Expected: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut"], instead got: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut", ""]

    In the 1st case you should have 5 parts, you got 4; in the snd you should have 5 parts but you got 6.

  • Default User Avatar

    last element empty or not?

    Expected: ["bdf", "hjl", "nps", "eek", ""], instead got: ["bdf", "hjl", "nps", "eek"]
    Expected: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut"], instead got: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut", ""]

  • Default User Avatar

    thanks, description is confusing