Hi,
-- If I have a list [ one, two, three ] is there a way to turn it into a single string with newlines after each element ?
Such that an echo mylist would show it as mulitple lines, ie:
one
two
three
I have tried join( mylist, "\n") but it uses ^@ and "\r" uses ^M
thx for everything vim,
-m
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/abac3a43-a328-402d-bdca-635f430d665c%40googlegroups.com.
No comments:
Post a Comment