01-29-2024, 04:38 PM
Dear all,
I am new to Quick Macros and I love this program by now. As trying to play with it I got the following issue. I got a string from my macro that contains a duplicated string. I need to detect those and delete the second part. How to do it?
str s = "repeatable stringrepeatable string"
int n
for n 0 s.len
out s.left(s n)
Even the for loop does not work... Why? How to find a solution?
Best regards
Gregor
I am new to Quick Macros and I love this program by now. As trying to play with it I got the following issue. I got a string from my macro that contains a duplicated string. I need to detect those and delete the second part. How to do it?
str s = "repeatable stringrepeatable string"
int n
for n 0 s.len
out s.left(s n)
Even the for loop does not work... Why? How to find a solution?
Best regards
Gregor