trimRight
trimRight(): String;
The trimRight method of the String primitive type returns a copy of the receiving string with trailing blanks (spaces) trimmed from the end of the receiver.
The following example shows the use of the trimRight method.
vars
stringValue : String;
begin
stringValue := ' some text '.trimRight;
write stringValue; // Outputs ' some text'
end;
