function AddTrailingPathDelim(const Value: String;
Delimiter: String=SLASH): String
The AddTrailingPathDelim function adds the specified path delimiter to the end of the string input parameter, if the path delimiter does not already exist at the end of the string. The return value is a string.
Examples
X := AddTrailingPathDelim('https://www.elevatesoft.com'); // X is 'https://www.elevatesoft.com/'