[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Removes leading and trailing whitespace in the file path for the specified URL.
Source position: lazhelpintf.pas line 598
function TrimURLPath( |
const URLPath: string |
):string; |
URLPath |
|
URL examined in the routine. |
File path for the URL after removing whitespace.
TrimURLPath is a String function used to remove leading and trailing whitespace that occurs in the file path specified in URLPath. TrimURLPath converts the file path to a file name on the local file system, removes whitespace, and reconverts the file name to a valid URL file path.
TrimURLPath calls URLPathToFilename to get the file name portion of the URL, and calls TrimFilename to remove leading and trailing whitespace. TrimURLPath calls FilenameToURLPath to get the return value for the function.
Version 3.2 | Generated 2024-02-25 | Home |