indi visual
Member
I am having trouble removing fragments left behind from a previous code.
I am familiar with Len, Trim, and the basic search and replace of course.
The problem is I only want them removed from the end, and also
some of these characters repeat consecutively.
This seems like a simple enough issue, but nothing I've tried so far has successfully removed all consecutive occurrences from the end (it might knock out a few chunks but not all of them).
I could use a loop to keep going and knocking out chunks at a time, but the problem with that is I don't know how to exit the loop once started, and also I would prefer to avoid loop if at all possible.
Any help on this is extremely appreciated.
The 7 Specific Fragments are (which could be consecutive in any order):
-
(
[
{
<
_
}
I am familiar with Len, Trim, and the basic search and replace of course.
The problem is I only want them removed from the end, and also
some of these characters repeat consecutively.
This seems like a simple enough issue, but nothing I've tried so far has successfully removed all consecutive occurrences from the end (it might knock out a few chunks but not all of them).
I could use a loop to keep going and knocking out chunks at a time, but the problem with that is I don't know how to exit the loop once started, and also I would prefer to avoid loop if at all possible.
Any help on this is extremely appreciated.
The 7 Specific Fragments are (which could be consecutive in any order):
-
(
[
{
<
_
}