hi,
I’ve a calculated text, which font is Courier. I want to have all the content of item “Auftrag_Personal” is being displayed like in a table, e.g.:
(The underscores mean spaces)
1223___dummy________dummy
32_____foo___________dummy
12322__dummy________foo
Following formula doesn’t work:
vListe:=@Explode(Auftrag_Personal;@NewLine);
sText:=@Implode(
@Trim(@Word(vListe;"~~";1)) + @Repeat(" "; 11 - @Length(@Trim(@Word(vListe;"~~";1)))) +
@Trim(@Word(vListe;"~~";2)) + @Repeat(" "; 13 - @Length(@Trim(@Word(vListe;"~~";2)))) +
@Trim(@Word(vListe;"~~";3)) + @Repeat(" "; 20 - @Length(@Trim(@Word(vListe;"~~";3))))
;@NewLine);
sText
It displays:
1223 dummy dummy
32 foo dummy
12322 dummy foo
Somebody an idea ?
Thanks,
Bernd