Skip to content

stripping newline character optional #32

@maryrupal

Description

@maryrupal

I was wondering if the following in public static function could be optional or not:

//replace new line character
$data = preg_replace("/\r\n|\r|\n/", ' ', $data);

the csv and excel files that i am generating using this bundle will be used by other applications to import data and the newline chars have to stay.

I think a lot of people might find this handy. pls take this suggestion into account.

thanks! great bundle!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions