How to delete text between marks, such as @abcde@
-
-
Many thanks by so quick answer..
This functions very well, but when characters of return exist (#13) does not work!
The routine also functions when boards(tabellen) in the text exist?
André Aigneren
-
- Offizieller Beitrag
In this case do it differently:
Code
Alles anzeigenstart, endp : Integer; start := -1; endp := -1; CPPosition := 0; repeat if CPChar^='@' then begin if start<0 then start := CPPosition + 1 else begin endp := CPPosition; SetSelPosLen(start, endp-start); SelectionAsString := ''; start := -1; end; end; until not CPMoveNext;
BTW.: Please post questions in the wptools forum - not in FAQ