Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EASY Task?
#2
Quote:I am new to Quick Macros

Try LibreAutomate. It is similar to Quick Macros.

-----

Easy if the substring is known.
Example in LibreAutomate:

Code:
Copy      Help
// script ""
string s = "repeatable stringrepeatable string";
if (s.RxFindAll(@"repeatable string", out var matches) && matches.Length > 1) {
    for (int i = matches.Length; --i >= 1; ) {
        var m = matches[i];
        s = s.Remove(m.Start..m.End);
    }
}

print.it(s);


Messages In This Thread
EASY Task? - by beachballer - 01-29-2024, 04:38 PM
RE: EASY Task? - by Gintaras - 01-29-2024, 05:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)