Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unicode character length and moving text cursor
#4
If there are multiple lines, I will use the following code. Is there a simpler one?

Code:
Copy      Help
(#s.len-_i-numlines(s)+1)

Macro M3
Code:
Copy      Help
_s=
;hello你好
;world
;世界world
BSTR s=_s
_i=find(s "e")

paste _s
'L (#s.len-_i-numlines(s)+1)


Messages In This Thread
RE: Unicode character length and moving text cursor - by Davider - 03-30-2023, 02:03 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)