Hello, how can I copy text after "-" or just delete the text before the "-"
I tried copystr but it asks me for position and that could be dynamic.
text := 'code - text1 text2 text3 text4 text5 text6';
int := strlen(text,'-');
text2 := copystr(text, int+1);
what is a better way to write this?