Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    also I have asked this question to myself)

    • first we separate lines with split
    • alter we try to get first part of line (which have started by mark)

    like:

    • "word @word # comment"
    • "word @word ", "comment" - save this for check another mark
    • "word ", "word " - don't forget that you need delete last space))

    hope this help with understanding

  • Custom User Avatar

    I see that it works by running it, but not even with debugging I understand what is going on here. "parts" is being rewritten for every marker and somehow the result takes into account all the markers? Any help would be appreciate it!