Skip to content

splitLines should have an option to keep newline #7478

@timotheecour

Description

@timotheecour

same as in https://dlang.org/library/std/string/split_lines.html
eg how about:

iterator splitLines(s: string, keepNewline = false): string {..}

what's the simplest workaround in the meantime?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions