---
url: /flow/guide/scripting-reference/functions/string/decodelinefeeds.md
---

# DecodeLineFeeds

## Declaration

`Function DecodeLineFeeds( aInputString : string; aReplace : string) : string`

### Example

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

## Description

Decodes characters given by aReplace to #13#10 (carraige return/line feed).
