question: remove characters from certain position
Posted: 01 Jan 2016 12:56
the following script inserts characters into certain position, can the operation be reversed to remove them?
Code: Select all
"Insert Character(s)" $char = input ("Enter the character to insert:");
$pos = input ("Enter position to enter the character:");
rename "r", "^(.{$pos})(.+)$ > $1$char$2", "p"