Skip to content

Flow documentation · legacy product

EncodeLineFeeds ​

Declaration ​

Function EncodeLineFeeds( aInputString : string; aReplace : string) : string

Example ​

pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := EncodeLineFeeds(aString, '/n'); //converts #13#10 (carraige return/line feed) to the given characters
end;

Description ​

converts #13#10 (carraige return/line feed) in aInputString into the aReplace characters