Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_s.beg("_")
#12
Macro BOM detector
Code:
Copy      Help
_s.getclip
out _s.len

Copy a "_" from a QM code and run this QM macro. If copied from the foreach macro, it prints 6 (it means there is BOM); if from the for macro, it prints 3 (no BOM).

 
Quote:Why would it be inside the string? I typed these characters manually.
It's impossible if entire "_" was typed manually. It was copy-pasted with BOM. Then maybe you selected/replaced only the _, and the BOM survived.


Messages In This Thread
_s.beg("_") - by Davider - 03-01-2026, 01:32 PM
RE: _s.beg("_") - by Gintaras - 03-01-2026, 02:24 PM
RE: _s.beg("_") - by Davider - 03-01-2026, 03:01 PM
RE: _s.beg("_") - by Gintaras - 03-01-2026, 03:10 PM
RE: _s.beg("_") - by Davider - 03-01-2026, 04:15 PM
RE: _s.beg("_") - by Gintaras - 03-01-2026, 04:38 PM
RE: _s.beg("_") - by Davider - 03-01-2026, 10:34 PM
RE: _s.beg("_") - by Davider - 03-02-2026, 03:28 AM
RE: _s.beg("_") - by Davider - 03-02-2026, 06:15 AM
RE: _s.beg("_") - by Gintaras - 03-02-2026, 06:45 AM
RE: _s.beg("_") - by Davider - 03-02-2026, 07:05 AM
RE: _s.beg("_") - by Gintaras - 03-02-2026, 07:19 AM
RE: _s.beg("_") - by Davider - 03-02-2026, 07:39 AM
RE: _s.beg("_") - by Gintaras - 03-02-2026, 07:43 AM
RE: _s.beg("_") - by Davider - 03-02-2026, 10:32 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)