Skip to content

Call strip against each item of a new list#5

Open
atrubachev wants to merge 1 commit intotimraasveld:masterfrom
atrubachev:add_strip
Open

Call strip against each item of a new list#5
atrubachev wants to merge 1 commit intotimraasveld:masterfrom
atrubachev:add_strip

Conversation

@atrubachev
Copy link

Without strip we can get the last item with trailing characters:

ok: [localhost] => {
    "msg": "['aaa', 'bbb', 'ccc', 'ddd\\n']"
}

strip removes leading and trailing characters and we get "clean" strings:

ok: [localhost] => {
    "msg": "['aaa', 'bbb', 'ccc', 'ddd']"
}

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

Successfully merging this pull request may close these issues.

1 participant

Comments