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....



EnsureTrailingBkSlash


Unit:SDL_stringl
Class:none
Declaration:function EnsureTrailingBkSlash (instring: string): string;

The function EnsureTrailingBkSlash adds a backslash character to the end of the string instring if it lacks one. This function may be quite useful when handling directory names.



Last Update: 2023-Feb-06