The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:function EnsureTrailingChar (cc: char; instring: string): string;

The function EnsureTrailingChar adds the character defined by the parameter cc to the end of the string instring only if the last character of Instring does not match cc. This function may be quite useful when handling directory names or Web URLs.

Last Update: 2012-Oct-20