Function StringToBrFromChr
Convert Char 13 (Carriage Return) into < b > and remove Char 10 (Line Feed)
Additionally will convert some characters into HTML entity characters
and remove ASCII control characters
StringToBrFromChr([VALUE],[DEFAULTVALUE])Parameters
| # | Type | Passing | Default | Name | Description/Comments |
|---|---|---|---|---|---|
| 1 | string | required | n/a | VALUE | Specifies the string value to do the conversion on |
| 2 | integer | optional | blank | DEFAULTVALUE | Specifies the default string is the first parameter is an empty string. |
Remarks
You can use StringToBrFromChr() in outputs so that text strings will format correctly in HTML/Word based outputs.
Returns
String
Example
The following example converts the text from the PROPERTY.PROPDESC on trhe current property record
[[StringToBrFromChr(PROPERTY.PROPDESC,"")]]
