Macro only executes one of two replace functions
Posted: Tue Oct 20, 2009 4:57 pm
I Created a macro to add ticks around a string of characters on a line (to make a in clause for oracle).
Starts out as zzzzzzzzzzzz
after macro 'zzzzzzzzzzzz',
Macro
Replace from ^ to '
Replace from $ to ',
save macro.
While creating the macro, it properly does the replace on both sides of the string. When I run it from the macro command, only the left side is performed.
Can someone tell me if I need to do something else to get the macro to finish properly.
Starts out as zzzzzzzzzzzz
after macro 'zzzzzzzzzzzz',
Macro
Replace from ^ to '
Replace from $ to ',
save macro.
While creating the macro, it properly does the replace on both sides of the string. When I run it from the macro command, only the left side is performed.
Can someone tell me if I need to do something else to get the macro to finish properly.