Function DisplayBrFromChr
Converts string line breaks to html equivalent
DisplayBrFromChr([VALUE],[DEFAULT_IF_INVALID])
Parameters
# | Type | Passing | Default | Name | Description/Comments |
---|---|---|---|---|---|
1 | string | required | n/a | VALUE | The value to convert |
2 | string | optional | n/a | DEFAULT_IF_INVALID | The default to use if invalid |
Returns
The string with converted line breaks
Examples
Example of converting a .NET string into html equivalent
{{DisplayBrFromChr("This is line 1\r\nThis is line 2")}}