Icon RemoveTrailingPathDelim

Unit: WebCore

Available In: Client and Server Applications

function RemoveTrailingPathDelim(const Value: String;
                                      Delimiter: String=SLASH): String

The RemoveTrailingPathDelim function removes the specified path delimiter from the end of the string input parameter, if the path delimiter exists at the end of the string. The return value is a string.

Examples

X := RemoveTrailingPathDelim('https://www.elevatesoft.com/');  // X is 'https://www.elevatesoft.com'
Image