Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove null-byte characters #153

Closed
adrianhelvik opened this issue Aug 10, 2018 · 0 comments
Closed

Remove null-byte characters #153

adrianhelvik opened this issue Aug 10, 2018 · 0 comments

Comments

@adrianhelvik
Copy link
Contributor

I use this all the time to copy/paste from Illustrator. Illustrator appends a null-byte character. If you could replace all occurrences of '\0' with '', it would be awesome. :)

str.split('\0').join('')
adrianhelvik pushed a commit to adrianhelvik/svgr that referenced this issue Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant