Skip to content

Removing "\u0000" from the end of a message #23293

Answered by thomasqueirozb
andarotajo asked this question in Q&A
Discussion options

You must be logged in to vote

This should work just fine:

.message = replace!(.message, r'\u0000', "")

Not sure why the string replace is not working properly, it might be a bug. If you want you can dive deeper into this and file a bug report

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andarotajo
Comment options

Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
domain: vrl Anything related to the Vector Remap Language
2 participants