Zitat von
Delphi-Lover:
Hello Klaus,
Stimmt
, but to keep care of the characters in the string was not part of the question
The trim function of your answer only deletes "space" characters and the control characters.
Greetings,
Delphi-Lover.
The question was to eliminate all spaces before and behind the "main string". (and only these!)
that is perfectly done by trim