Trim() for new lines / carriage returns

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
robinson
Posts: 189
Joined: 12 Sep 2019, 20:28

Trim() for new lines / carriage returns

Post by robinson » 01 Jun 2023, 23:03

Hi, noob here.
How do you use Trim() for trimming extra lines off the end of a string?
I tried filling that parameter with

Code: Select all

"`n"
but that didn't work.
I feel it's probably pretty easy though, whatever it is.
Thanks!

robinson
Posts: 189
Joined: 12 Sep 2019, 20:28

Re: Trim() for new lines / carriage returns

Post by robinson » 01 Jun 2023, 23:23

Oh wait, sorry guys.
I added a Sleep() in there and now it works.
No problem. False alarm.

Post Reply

Return to “Ask for Help (v2)”