# ParagraphFormat()

Formats the carriage returns in a string to a HTML alternatives

```
ParagraphFormat( string=string );
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| string | string | Yes | A string or a variable that contains one |  |

# Examples

```cfml
  paragraphs = "This is your brain.#chr(13)#This is your brain on Lucee.";
  echo(ParagraphFormat(paragraphs));
```







# Categories

[Strings](../../categories/string.md), [Formatting](../../categories/formatting.md), [HTML](../../categories/html.md)

# See Also

[string.paragraphFormat()](../objects/string/paragraphformat.md)