Hi all

I'm confused about substitute function:

"String#CHAR" transfer to "String\#CHAR", but why here need four "\"?

:echo substitute("String#CHAR","#","\\\\#","g")  I got:

String\#CHAR

Thanks! 

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to