Remove Last Character from Last Line

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Post Reply
SoreHeed
Posts: 6
Joined: Fri Jan 24, 2020 12:07 am

Remove Last Character from Last Line

Post by SoreHeed » Fri Jan 24, 2020 12:15 am

Hi
I was trying to use Restrict -> Line Range to select the last line and then remove the last character.
But after many attempts and reading what I could find about configuring a line range, I couldn't find out how to set the Line Range to the last line.
Is this possible or is my approach wrong?
Thanks

DFH
Posts: 955
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Remove Last Character from Last Line

Post by DFH » Sat Jan 25, 2020 1:15 am

This works.

Code: Select all

Comment...
|  Remove last character from last line
|
+--Restrict lines:-0..-0
   |
   +--Restrict columns:-0..-0
      |
      +--Remove all
          
Try it on the Trial Run area.

SoreHeed
Posts: 6
Joined: Fri Jan 24, 2020 12:07 am

Re: Remove Last Character from Last Line

Post by SoreHeed » Mon Jan 27, 2020 8:31 pm

Thanks -0..-0 worked

Post Reply