Skip to content

Flow documentation · legacy product

IncludeTrailingPathDelimiter ​

Declaration ​

Function IncludeTrailingPathDelimiter( const S : string) : string

Example ​

pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := IncludeTrailingPathDelimiter('c:\test'); //returns 'c:\test\'
end;

Description ​

Returns the file path with a path delimiter on the end. If the file path already has a delimiter on the end it will not add another.