Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tok, unexpected result (tok array item has incorrect len)
#5
s.findreplace("copy paste what seems to be empty but actually contains these 3 bytes")

Macro hidden characters
Code:
Copy      Help
out
str s

;normal
s="a"
out s.len
outb s s.len

;replaced from your string; the hidden characters remains
s="‎a"
out s.len
outb s s.len

;result
;1
;61
;4
;E2 80 8E 61

;s.findreplace("‎") ;;3 hidden bytes in ""
s.findreplace("[0xE2][0x80][0x8E]") ;;visual
out s
out s.len
outb s s.len


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)