On 2 апр, 19:34, Spiros Bousbouras <[email protected]> wrote: > let s = 'qwerty' > Let's say I want to replace the first character by Q. I thought > the following would work > let s[0] = 'Q' but it gives > E689: Can only index a List or Dictionary > So what is the simplest way to achieve such a task ? ... > Anyone got a better idea ?
let s='qwerty' let s='Q'.s[1:] --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
