UAMike Posted October 4, 2019 Report Share Posted October 4, 2019 I use macros to remove lines of text from a larger block of text. I am using the Variable Modify String command to replace unwanted text with a blank. The problem of course is that I then end up with blank lines when I wanted was to remove the text and carriage return. Here is an example: The list contains: -A -B -C -D -E End of list. What I will end up with after using Variable Modify String is something like this: The list contains: -B -C -E End of list. What I wanted was it to be formatted like this: The list contains: -B -C -E End of list. How can I accomplish this? I tried using Trim CR/LF, but then I am removing all the carriage returns. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.