Wednesday, December 28, 2016

Get substring position function (multi byte)

How to get substring position in chars if string is a multi byte string?

I use match() function and it returns index as byte offset. It is a byteidx
function what return also byte offset for Nth char. I could not found reverse
function ...

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: