Delphi Programming RTL Reference|By Category|Alphabetically|By Unit
function TrimRight(const S: string): string;
Returns a string containing a copy of a specified string without trailing spaces and non-printing control characters.
var s : string;
s:=' Delphi ';
s := TrimRight(s);
//s=' Delphi';
|
String Types in Delphi
Understanding and managing string data types in Delphi's Object Pascal. Learn about differences between Short, Long, Wide and null-terminated strings.
TrimLeft,
Trim,
|
Free Delphi code snippet inside every Delphi Newsletter! |
|
|
|
Got some code to share? Got a question? Need some help? |
|
|