5
How do you delete the first character of a variable, even if it's `n?
(programming.dev)
If you're just trying to strip the first character regardless of what it is then SubStr(Contents, 2)
would be a much better. I know you said you weren't married to regex, but if you wanted to do the same with regex you would do 's)^.'
, per the documentation the "s" option makes the "." character include newlines and it's related characters. By default for some reason Autohotkey's regexes exclude newlines from the ".".
Oh, man, I totally didn't know or must've forgotten about SubStr()
all this time! Thanks, that does the trick!!