RPGspText2HTML Function
Converts multi-line text to HTML format.
Syntax
RPGspText2HTML(character string)
Part | Description |
character string | Required. Text to be converted. |
Remarks
HTML does not recognize line breaks unless a special line break HTML tag <BR> is used. The RPGspText2HTML function inserts <BR> tags into a multi-line text string, so that the text is displayed correctly on a browser page.
Example
The following snippet of HTML demonstrates the use of RPGspText2HTML function:
<TR> <TD>Customer Notes:</TD> <TD><% RPGspText2HTML(CNOTES) %></TD> </TR> |
See
Also
Profound
Logic Software, Inc.
www.ProfoundLogic.com
(937) 439-7925